mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-06 03:58:00 +08:00
✨fixed: refresh bug
This commit is contained in:
parent
95c151b142
commit
2ea5c8c322
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user