Delay emitting mounted event
This commit is contained in:
parent
d01daa4137
commit
e355c8df68
|
|
@ -22,7 +22,7 @@ if (process.env.NODE_ENV === 'development') {
|
|||
new Vue({
|
||||
el: route.el,
|
||||
mounted() {
|
||||
setTimeout(() => emitter.emit('mounted', { el: route.el }), 0);
|
||||
setTimeout(() => emitter.emit('mounted', { el: route.el }), 100);
|
||||
},
|
||||
render: h => h(route.component)
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user