no message
Former-commit-id: 211a03f3eda5c22cb76becc47ad94997e8b1d0df Former-commit-id: 962e14495f5638bb03dab2ee4e71e2daaadfeece Former-commit-id: e8fe991650717f19b11edd8db54eeba1e15b3287
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -107,7 +107,9 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
// 请求图表数据
|
// 请求图表数据
|
||||||
this.syncData()
|
setTimeout(() => {
|
||||||
|
this.syncData()
|
||||||
|
}, 1000)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 请求图表数据
|
// 请求图表数据
|
||||||
|
|||||||
Reference in New Issue
Block a user