修改重置场景逻辑以及修复小bug

bug:当选中某个导航菜单时,再次点击会一直加载
This commit is contained in:
wzy-warehouse
2026-05-06 18:17:54 +08:00
parent 1636ad586d
commit db69828c48
5 changed files with 42 additions and 11 deletions
+5 -1
View File
@@ -10,7 +10,11 @@
</div>
<div class="nav-list">
<router-link
@click="useStatusStore().appLoadingCompleted = false"
@click="
isActive(item.query.identification)
? ''
: (useStatusStore().appLoadingCompleted = false)
"
v-for="(item, index) in topNavMap"
:key="index"
:to="{ name: item.name, query: item.query }"