diff --git a/src/pages/demo/chart/index/index.vue b/src/pages/demo/chart/index/index.vue index 59fcea76..d0292bf1 100644 --- a/src/pages/demo/chart/index/index.vue +++ b/src/pages/demo/chart/index/index.vue @@ -4,49 +4,49 @@ - + - + - + - + - + - + - + - + @@ -126,6 +126,10 @@ export default { } }, methods: { + // 图表 mounted + isReady (index) { + this.chart[index].ready = true + }, // 请求图表数据 syncData () { this.$axios.all(this.chart.map(e => this.$axios.post(e.api.url, e.api.data)))