Explorar el Código

完善 打包

million hace 1 año
padre
commit
e8f67f7675
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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', () => {
   let index = ref(0)
 
-  function changeIndex(number) {
+  function changeIndex(number:number) {
     index.value = number
   }
   return { index, changeIndex}