Commit 2ea5c8c3 by chuzhixin

fixed: refresh bug

parent 95c151b1
......@@ -59,7 +59,7 @@
},
created() {
//重载所有路由
this.$baseEventBus.$on('reload-routerview', () => {
this.$baseEventBus.$on('reload-router-view', () => {
this.routerView = false
this.$nextTick(() => {
this.routerView = true
......
......@@ -61,7 +61,7 @@
this.changeCollapse()
},
async refreshRoute() {
this.$baseEventBus.$emit('reload-routerview')
this.$baseEventBus.$emit('reload-router-view')
this.pulse = true
setTimeout(() => {
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