修复html属性的bug!
This commit is contained in:
@@ -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",
|
||||||
|
@@ -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>
|
||||||
|
@@ -102,7 +102,6 @@ export default {
|
|||||||
width: 165px;
|
width: 165px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.advance-reward-wrapper {
|
.advance-reward-wrapper {
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user