fix:handleSetLineChartData bug
This commit is contained in:
parent
6b9e89055d
commit
f6279077de
|
@ -53,6 +53,11 @@ import CountTo from 'vue-count-to'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
CountTo
|
CountTo
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleSetLineChartData(type) {
|
||||||
|
this.$emit('handleSetLineChartData', type)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="dashboard-editor-container">
|
<div class="dashboard-editor-container">
|
||||||
<github-corner></github-corner>
|
<github-corner></github-corner>
|
||||||
|
|
||||||
<panel-group></panel-group>
|
<panel-group @handleSetLineChartData="handleSetLineChartData"></panel-group>
|
||||||
|
|
||||||
<el-row style="margin-top:30px;background:#fff;padding:15px 15px 0;">
|
<el-row style="margin-top:30px;background:#fff;padding:15px 15px 0;">
|
||||||
<line-chart :chart-data="lineChartData"></line-chart>
|
<line-chart :chart-data="lineChartData"></line-chart>
|
||||||
|
|
Loading…
Reference in New Issue