no message

Former-commit-id: 0cdf814303614e8577d56874f9384888b1c9e613
Former-commit-id: e676ef372115ff3ffebe667096553dc506f5c798
Former-commit-id: 0bb4e736a85e70b4d741d9256d3ee2c1b3fe9019
This commit is contained in:
李杨
2018-02-17 20:25:11 +08:00
parent 690447fd2c
commit 02ad740fe8
6 changed files with 68 additions and 15 deletions

View File

@@ -38,9 +38,11 @@ export default {
changeData () {
if (this.chart) {
// 已经初始化过图表 更新数据
this.$log('changeData', '已经初始化过图表 只更新数据')
this.chart.changeData(this.data)
} else {
// 没有图表 新创建一个实例
this.$log('changeData', '没有图表 新创建一个实例')
this.init()
}
}