feat: 接入真实登录鉴权流程
This commit is contained in:
@@ -11,7 +11,8 @@ import { useMultiTagsStoreHook } from "@/store/modules/multiTags";
|
||||
import { darken, lighten, useGlobal, storageLocal } from "@pureadmin/utils";
|
||||
|
||||
export function useDataThemeChange() {
|
||||
const { layoutTheme, layout } = useLayout();
|
||||
const { layoutTheme, layout, initStorage } = useLayout();
|
||||
initStorage();
|
||||
const themeColors = ref<Array<themeColorsType>>([
|
||||
/* 亮白色 */
|
||||
{ color: "#ffffff", themeColor: "light" },
|
||||
|
||||
@@ -38,6 +38,8 @@ export type routeMetaType = {
|
||||
icon?: string | FunctionalComponent;
|
||||
showLink?: boolean;
|
||||
savedPosition?: boolean;
|
||||
permission?: string | Array<string>;
|
||||
menuKey?: string;
|
||||
auths?: Array<string>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user