no message
Former-commit-id: e812a76a0d36d3a2a6c5187034999dcc5012e764 Former-commit-id: 20a9c884deffc3bf6dbb3385e24bb8b3409b4b97 Former-commit-id: 0b8c74d5020ade9538a2f268571662810a73346e
This commit is contained in:
@@ -29,13 +29,11 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
// 如果设置了在 mounted 后自动初始化 就在这里初始化
|
// 如果设置了在 mounted 后自动初始化 就在这里初始化
|
||||||
setTimeout(() => {
|
if (this.autoInit) {
|
||||||
if (this.autoInit) {
|
this.$nextTick(() => {
|
||||||
this.$nextTick(() => {
|
this.init()
|
||||||
this.init()
|
})
|
||||||
})
|
}
|
||||||
}
|
|
||||||
}, 300)
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
// 数据改变
|
// 数据改变
|
||||||
|
|||||||
Reference in New Issue
Block a user