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