fix:handleSetLineChartData bug
This commit is contained in:
parent
6b9e89055d
commit
f6279077de
2 changed files with 6 additions and 1 deletions
|
@ -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 a new issue