Skip to content
Snippets Groups Projects
Commit f6279077 authored by Pan's avatar Pan
Browse files

fix:handleSetLineChartData bug

parent 6b9e8905
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,11 @@ import CountTo from 'vue-count-to' ...@@ -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 @@ ...@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment