瀏覽代碼

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) {