no message

Former-commit-id: 9667b0a25a623f856198d5449e92d89e115f1054
Former-commit-id: eb11c30b2dd9b4041952066961848c5127e44ce8
Former-commit-id: f4813552e90f7902dac59b9527a1243895ac68bb
This commit is contained in:
李杨
2018-02-17 12:53:19 +08:00
parent fea7450e29
commit a65282bbc0
3 changed files with 52 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ export default {
watch: {
// 数据改变
data () {
this.refreshData()
this.changeData()
}
},
methods: {
@@ -86,11 +86,11 @@ export default {
)
},
// 更新数据
refreshData () {
changeData () {
this.$log(
'@/components/charts/G2/mixins/G2.js',
'图表没有正确刷新数据',
'如果你看到这条消息 请检查是否在图表组件中设置refreshData方法'
'如果你看到这条消息 请检查是否在图表组件中设置changeData方法'
)
}
}