소스 검색

fix: 打包问题2

Rmengdi 11 달 전
부모
커밋
049d36f553
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/stores/modules/auth.ts

+ 1 - 1
src/stores/modules/auth.ts

@@ -29,7 +29,7 @@ export const useAuthStore = defineStore('admin-auth', {
     // Get AuthMenuList
     async getAuthMenuList() {
       const { data } = await getRoutersApi()
-      this.authMenuList = [...staticRouterList.data, ...data]
+      this.authMenuList = [...staticRouterList.data, ...data] as any[]
     },
     // Set RouteName
     async setRouteName(name: string) {