修复html属性的bug!

This commit is contained in:
Kane Wang 2023-03-17 15:11:21 +08:00
parent 8053360878
commit 6f4dbdbd7e
4 changed files with 66 additions and 66 deletions

View File

@ -36,6 +36,7 @@ module.exports = {
], ],
rules: { rules: {
indent: ["warn", 4,], indent: ["warn", 4,],
"space-in-parens": ["error", "always", { exceptions: ["empty",], },],
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-unused-vars": "warn", "no-unused-vars": "warn",

View File

@ -29,7 +29,6 @@ export default {
setup( props ) setup( props )
{ {
const ui = reactive( { const ui = reactive( {
chart_data: props.chartData,
} ); } );
// //
@ -68,7 +67,9 @@ export default {
initCharts(); initCharts();
} ); } );
return { ui, initCharts, }; console.log( props );
return { ui, initCharts, props, };
}, },
}; };
</script> </script>

View File

@ -102,7 +102,6 @@ export default {
width: 165px; width: 165px;
height: 100%; height: 100%;
} }
.advance-reward-wrapper { .advance-reward-wrapper {

View File

@ -28,8 +28,7 @@
</div> </div>
<div class="total-archievement-charts-wrapper"> <div class="total-archievement-charts-wrapper">
<ArchievementChart <ArchievementChart
total_archievement="435220" :chart-data="ui.chartData"
:chart_data="ui.chartData"
/> />
</div> </div>
</div> </div>