fix:handleSetLineChartData bug
This commit is contained in:
parent
6b9e89055d
commit
f6279077de
|
@ -53,6 +53,11 @@ import CountTo from 'vue-count-to'
|
|||
export default {
|
||||
components: {
|
||||
CountTo
|
||||
},
|
||||
methods: {
|
||||
handleSetLineChartData(type) {
|
||||
this.$emit('handleSetLineChartData', type)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="dashboard-editor-container">
|
||||
<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;">
|
||||
<line-chart :chart-data="lineChartData"></line-chart>
|
||||
|
|
Loading…
Reference in New Issue