From 999cab6fb3fc6d2a288d365da991351c5a396bf0 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期三, 21 九月 2022 15:53:18 +0800 Subject: [PATCH] 删除无用页面 --- src/stores/interface/index.ts | 135 +++++++++++++++++++++++++------------------- 1 files changed, 76 insertions(+), 59 deletions(-) diff --git a/src/stores/interface/index.ts b/src/stores/interface/index.ts index 2690f4b..73b93b5 100644 --- a/src/stores/interface/index.ts +++ b/src/stores/interface/index.ts @@ -5,87 +5,104 @@ // 用户信息 export interface UserInfosState { - authBtnList: string[]; - photo: string; - roles: string[]; - time: number; - userName: string; - sign:string; + authBtnList: string[]; + photo: string; + roles: string[]; + time: number; + userName: string; + uid: string; + projectId: string; + dataList: []; } export interface UserInfosStates { - userInfos: UserInfosState; + userInfos: UserInfosState; } // 路由缓存列表 export interface KeepAliveNamesState { - keepAliveNames: string[]; - cachedViews: string[]; + keepAliveNames: string[]; + cachedViews: string[]; } // 后端返回原始路由(未处理时) export interface RequestOldRoutesState { - requestOldRoutes: string[]; + requestOldRoutes: string[]; } // TagsView 路由列表 export interface TagsViewRoutesState { - tagsViewRoutes: string[]; - isTagsViewCurrenFull: Boolean; + tagsViewRoutes: string[]; + isTagsViewCurrenFull: Boolean; } // 路由列表 export interface RoutesListState { - routesList: string[]; - isColumnsMenuHover: Boolean; - isColumnsNavHover: Boolean; + routesList: string[]; + isColumnsMenuHover: Boolean; + isColumnsNavHover: Boolean; + projectId: string; +} + +export interface loginInfoState { + loginUser: { + projectId: string; + token: string; + uid: string; + }; +} + +export interface screenThemeState { + screenTheme: { + isDark: boolean + } } // 布局配置 export interface ThemeConfigState { - isDrawer: boolean; - primary: string; - topBar: string; - topBarColor: string; - isTopBarColorGradual: boolean; - menuBar: string; - menuBarColor: string; - isMenuBarColorGradual: boolean; - columnsMenuBar: string; - columnsMenuBarColor: string; - isColumnsMenuBarColorGradual: boolean; - isCollapse: boolean; - isUniqueOpened: boolean; - isFixedHeader: boolean; - isFixedHeaderChange: boolean; - isClassicSplitMenu: boolean; - isLockScreen: boolean; - lockScreenTime: number; - isShowLogo: boolean; - isShowLogoChange: boolean; - isBreadcrumb: boolean; - isTagsview: boolean; - isBreadcrumbIcon: boolean; - isTagsviewIcon: boolean; - isCacheTagsView: boolean; - isSortableTagsView: boolean; - isShareTagsView: boolean; - isFooter: boolean; - isGrayscale: boolean; - isInvert: boolean; - isIsDark: boolean; - isWartermark: boolean; - wartermarkText: string; - tagsStyle: string; - animation: string; - columnsAsideStyle: string; - columnsAsideLayout: string; - layout: string; - isRequestRoutes: boolean; - globalTitle: string; - globalViceTitle: string; - globalI18n: string; - globalComponentSize: string; + isDrawer: boolean; + primary: string; + topBar: string; + topBarColor: string; + isTopBarColorGradual: boolean; + menuBar: string; + menuBarColor: string; + isMenuBarColorGradual: boolean; + columnsMenuBar: string; + columnsMenuBarColor: string; + isColumnsMenuBarColorGradual: boolean; + isCollapse: boolean; + isUniqueOpened: boolean; + isFixedHeader: boolean; + isFixedHeaderChange: boolean; + isClassicSplitMenu: boolean; + isLockScreen: boolean; + lockScreenTime: number; + isShowLogo: boolean; + isShowLogoChange: boolean; + isBreadcrumb: boolean; + isTagsview: boolean; + isBreadcrumbIcon: boolean; + isTagsviewIcon: boolean; + isCacheTagsView: boolean; + isSortableTagsView: boolean; + isShareTagsView: boolean; + isFooter: boolean; + isGrayscale: boolean; + isInvert: boolean; + isIsDark: boolean; + isWartermark: boolean; + wartermarkText: string; + tagsStyle: string; + animation: string; + columnsAsideStyle: string; + columnsAsideLayout: string; + layout: string; + isRequestRoutes: boolean; + globalTitle: string; + globalViceTitle: string; + globalI18n: string; + globalComponentSize: string; } export interface ThemeConfigStates { - themeConfig: ThemeConfigState; + themeConfig: ThemeConfigState; } -- Gitblit v1.9.2