Browse Source

完善 打包

million 1 năm trước cách đây
mục cha
commit
e8f67f7675
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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}