fixed: refresh bug

This commit is contained in:
chuzhixin 2020-11-16 11:05:24 +08:00
parent 95c151b142
commit 2ea5c8c322
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
},
created() {
//
this.$baseEventBus.$on('reload-routerview', () => {
this.$baseEventBus.$on('reload-router-view', () => {
this.routerView = false
this.$nextTick(() => {
this.routerView = true

View File

@ -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