修改组件中store的调用方式

This commit is contained in:
wzy-warehouse
2026-05-07 13:11:15 +08:00
parent 009dc83476
commit ee0d2971d2
3 changed files with 19 additions and 13 deletions
+3 -1
View File
@@ -13,7 +13,7 @@
@click="
isActive(item.query.identification)
? ''
: (useStatusStore().appLoadingCompleted = false)
: (statusStore.appLoadingCompleted = false)
"
v-for="(item, index) in topNavMap"
:key="index"
@@ -39,6 +39,8 @@
// 获取钩子函数
const { topNavMap, isActive } = useIndex();
const statusStore = useStatusStore();
</script>
<style scoped>