mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Postpone the emitting
This commit is contained in:
parent
4c40900910
commit
016367a0a8
@ -22,7 +22,7 @@ if (process.env.NODE_ENV === 'development') {
|
||||
new Vue({
|
||||
el: route.el,
|
||||
mounted() {
|
||||
emitter.emit('mounted', { el: route.el });
|
||||
setTimeout(() => emitter.emit('mounted', { el: route.el }), 0);
|
||||
},
|
||||
render: h => h(route.component)
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user