no message

Former-commit-id: 211a03f3eda5c22cb76becc47ad94997e8b1d0df
Former-commit-id: 962e14495f5638bb03dab2ee4e71e2daaadfeece
Former-commit-id: e8fe991650717f19b11edd8db54eeba1e15b3287
This commit is contained in:
李杨
2018-02-25 22:58:25 +08:00
parent f09f070cf4
commit 55af879a20
2 changed files with 4 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export default {
autoInit: { autoInit: {
type: Boolean, type: Boolean,
required: false, required: false,
default: true default: false
}, },
// 在组件 mounted 后自动初始化图表的 延时 (非G2自带) // 在组件 mounted 后自动初始化图表的 延时 (非G2自带)
autoInitDelay: { autoInitDelay: {

View File

@@ -107,7 +107,9 @@ export default {
}, },
mounted () { mounted () {
// 请求图表数据 // 请求图表数据
this.syncData() setTimeout(() => {
this.syncData()
}, 1000)
}, },
methods: { methods: {
// 请求图表数据 // 请求图表数据