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