This commit is contained in:
yiqiuyang
2025-10-16 15:48:14 +08:00
parent 05da1f7fbb
commit e5569b37a1
39 changed files with 611 additions and 329 deletions
+8
View File
@@ -5,6 +5,7 @@ export const useNavStore = defineStore(
'nav',
() => {
const navIndex = ref('/')
const showLoad = ref(true)
const changeNavIndex = (id) => {
if (!id) {
@@ -14,9 +15,16 @@ export const useNavStore = defineStore(
}
}
const setLoad = (status) => {
console.log('status===>', status)
showLoad.value = status
}
return {
navIndex,
showLoad,
changeNavIndex,
setLoad,
}
},
{