Browse Source

完善 打包

million 1 year ago
parent
commit
e8f67f7675
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/stores/sun.ts

+ 1 - 1
src/stores/sun.ts

@@ -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}