Commit 2ea5c8c3 by chuzhixin

fixed: refresh bug

parent 95c151b1
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
}, },
created() { created() {
//重载所有路由 //重载所有路由
this.$baseEventBus.$on('reload-routerview', () => { this.$baseEventBus.$on('reload-router-view', () => {
this.routerView = false this.routerView = false
this.$nextTick(() => { this.$nextTick(() => {
this.routerView = true this.routerView = true
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
this.changeCollapse() this.changeCollapse()
}, },
async refreshRoute() { async refreshRoute() {
this.$baseEventBus.$emit('reload-routerview') this.$baseEventBus.$emit('reload-router-view')
this.pulse = true this.pulse = true
setTimeout(() => { setTimeout(() => {
this.pulse = false this.pulse = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment