fix airlist异步获取慢 导致导航栏更不不及时

在切换tab时候 强制更新导航栏组件
This commit is contained in:
oldHome 2025-06-27 21:54:17 +08:00
parent 95da221144
commit 4ab76bfafe

View File

@ -175,7 +175,11 @@ export default {
} else { } else {
this.title = '后台管理' this.title = '后台管理'
} }
// /* 切换tab强制更新组件 */
this.loadRoute(this.airList)
this.$forceUpdate()//
/* 给导航栏切换加个 动画过渡 */
this.show = false this.show = false
setTimeout(() => { setTimeout(() => {
this.show = true this.show = true