diff --git a/src/views/layout/components/menubar.vue b/src/views/layout/components/menubar.vue index c02f8f9..b0980af 100644 --- a/src/views/layout/components/menubar.vue +++ b/src/views/layout/components/menubar.vue @@ -175,7 +175,11 @@ export default { } else { this.title = '后台管理' } - // 给导航栏切换加个 动画过渡 + /* 切换tab强制更新组件 */ + this.loadRoute(this.airList) + this.$forceUpdate()// 刷新本组件 + + /* 给导航栏切换加个 动画过渡 */ this.show = false setTimeout(() => { this.show = true