no message

Former-commit-id: e2d68bc4600549778aa155d07c4fc71813eb6a06
Former-commit-id: e0ca44d7dd830fa3d7f0cf2e3087795766fce050
Former-commit-id: 5a82c20c39e4742bb69d35e558a74b676be5a62d
This commit is contained in:
李杨
2018-02-17 22:52:21 +08:00
parent 74ed7307cb
commit 776931a4b5

View File

@@ -54,14 +54,9 @@ export default {
// 初始化 // 初始化
this.$nextTick(() => { this.$nextTick(() => {
if (this.chart) { if (this.chart) {
this.$log( this.chart.destroy()
'@/components/charts/G2/mixins/G2.js',
'图表初始化取消',
'原因是在初始化时检测到已经存在图表实例'
)
} else {
this.init()
} }
this.init()
}) })
}, },
// 创建图表对象 // 创建图表对象