/* GlobalState */ export interface GlobalState { Message: Object | null; token: string | null; userInfo: any | null; accountType: number | undefined; moduleId: string | null; account: string | null; assemblySize: AssemblySizeType | ""; language: string | null; themeConfig: ThemeConfigProps; projectDateAuth: number | null; // 0必选校验 1去除校验 moduleName: string | null; // 点击首页页面存的标题 editPassword: boolean | null; openDropdown: boolean | null; path: string | null; isManager: string | null; engineeringSn: string; systemConfigName: string; systemConfigBg: string; systemConfigSubBg: string; systemConfigLogo: string; activeType: string; activeSn: string; activeId: string; viewBookmarkArr: string; } /* themeConfigProp */ export interface ThemeConfigProps { maximize: boolean; layout: LayoutType; primary: string; isDark: boolean; isGrey: boolean; isCollapse: boolean; isWeak: boolean; breadcrumb: boolean; breadcrumbIcon: boolean; tabs: boolean; tabsIcon: boolean; footer: boolean; } export type AssemblySizeType = "default" | "small" | "large"; export type LayoutType = "vertical" | "classic" | "transverse" | "columns"; /* tabsMenuProps */ export interface TabsMenuProps { icon: string; title: string; path: string; name: string; close: boolean; } /* TabsState */ export interface TabsState { tabsMenuList: TabsMenuProps[]; } /* AuthState */ export interface AuthState { routeName: string; authButtonList: { [key: string]: string[]; }; authMenuList: Menu.MenuOptions[]; } /* keepAliveState */ export interface keepAliveState { keepAliveName: string[]; }