fix: router initialization problem

This commit is contained in:
xiaoxian521
2022-04-06 13:05:19 +08:00
parent 5e8723a031
commit 5efeb28eb3
7 changed files with 158 additions and 100 deletions

View File

@@ -1,9 +1,9 @@
import { defineStore } from "pinia";
import { store } from "/@/store";
import { cacheType } from "./types";
import { constantMenus } from "/@/router";
import { cloneDeep } from "lodash-unified";
import { RouteConfigs } from "/@/layout/types";
import { constantMenus } from "/@/router/modules";
import { ascending, filterTree } from "/@/router/utils";
export const usePermissionStore = defineStore({