|
@@ -20,7 +20,7 @@ export const useAddressStore = defineStore('address', () => {
|
|
export const useNavIndexStore = defineStore('index', () => {
|
|
export const useNavIndexStore = defineStore('index', () => {
|
|
let index = ref(0)
|
|
let index = ref(0)
|
|
|
|
|
|
- function changeIndex(number) {
|
|
|
|
|
|
+ function changeIndex(number:number) {
|
|
index.value = number
|
|
index.value = number
|
|
}
|
|
}
|
|
return { index, changeIndex}
|
|
return { index, changeIndex}
|