no message
Former-commit-id: 0fdbc3e23b95e57ce563adc436cc77f225fc07ff Former-commit-id: a1e6c9223c7e5aa3257f2c57777c742218d6c894 Former-commit-id: ae58d71026ef9c3fe2c400c3e33dee67c2852d73
This commit is contained in:
@@ -30,7 +30,7 @@ export default {
|
||||
mounted () {
|
||||
// 如果设置了在 mounted 后自动初始化 就在这里初始化
|
||||
if (this.autoInit) {
|
||||
// 可以设置延时初始化
|
||||
// 可以设置延时初始化 默认时间为 0
|
||||
setTimeout(() => {
|
||||
this.$nextTick(() => {
|
||||
this.init()
|
||||
|
||||
@@ -17,7 +17,7 @@ export default {
|
||||
required: false,
|
||||
default: true
|
||||
},
|
||||
// 在组件 mounted 后自动初始化图表的延时 (非G2自带)
|
||||
// 在组件 mounted 后自动初始化图表的 延时 (非G2自带)
|
||||
autoInitDelay: {
|
||||
type: Number,
|
||||
required: false,
|
||||
|
||||
Reference in New Issue
Block a user