diff --git a/src/views/layout/components/menubar.vue b/src/views/layout/components/menubar.vue index b5897c6..f9b014f 100644 --- a/src/views/layout/components/menubar.vue +++ b/src/views/layout/components/menubar.vue @@ -175,7 +175,11 @@ export default { } else { this.title = '小程序后台管理' } - // 给导航栏切换加个 动画过渡 + /* 防止无人机项 不更新 */ + this.loadRoute(this.airList) + this.$forceUpdate()// 刷新本组件 + + /* 给导航栏切换加个 动画过渡 */ this.show = false setTimeout(() => { this.show = true