no message

Former-commit-id: e812a76a0d36d3a2a6c5187034999dcc5012e764
Former-commit-id: 20a9c884deffc3bf6dbb3385e24bb8b3409b4b97
Former-commit-id: 0b8c74d5020ade9538a2f268571662810a73346e
This commit is contained in:
李杨
2018-02-17 21:59:03 +08:00
parent c4ba746fde
commit 61976a74b7

View File

@@ -29,13 +29,11 @@ export default {
},
mounted () {
// 如果设置了在 mounted 后自动初始化 就在这里初始化
setTimeout(() => {
if (this.autoInit) {
this.$nextTick(() => {
this.init()
})
}
}, 300)
if (this.autoInit) {
this.$nextTick(() => {
this.init()
})
}
},
watch: {
// 数据改变