修改组件中store的调用方式
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user