no message

Former-commit-id: 0fdbc3e23b95e57ce563adc436cc77f225fc07ff
Former-commit-id: a1e6c9223c7e5aa3257f2c57777c742218d6c894
Former-commit-id: ae58d71026ef9c3fe2c400c3e33dee67c2852d73
This commit is contained in:
李杨
2018-02-17 22:07:38 +08:00
parent 8e56ad4a72
commit 54450481e2
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ export default {
mounted () {
// 如果设置了在 mounted 后自动初始化 就在这里初始化
if (this.autoInit) {
// 可以设置延时初始化
// 可以设置延时初始化 默认时间为 0
setTimeout(() => {
this.$nextTick(() => {
this.init()

View File

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