no message
Former-commit-id: e2d68bc4600549778aa155d07c4fc71813eb6a06 Former-commit-id: e0ca44d7dd830fa3d7f0cf2e3087795766fce050 Former-commit-id: 5a82c20c39e4742bb69d35e558a74b676be5a62d
This commit is contained in:
@@ -54,14 +54,9 @@ export default {
|
||||
// 初始化
|
||||
this.$nextTick(() => {
|
||||
if (this.chart) {
|
||||
this.$log(
|
||||
'@/components/charts/G2/mixins/G2.js',
|
||||
'图表初始化取消',
|
||||
'原因是在初始化时检测到已经存在图表实例'
|
||||
)
|
||||
} else {
|
||||
this.init()
|
||||
this.chart.destroy()
|
||||
}
|
||||
this.init()
|
||||
})
|
||||
},
|
||||
// 创建图表对象
|
||||
|
||||
Reference in New Issue
Block a user