From 9259c2235e31708f954a3578bde3c6a7ab9753e8 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 30 十二月 2024 15:51:40 +0800 Subject: [PATCH] 1、工作流相关组件更新 2、偶尔出现退出登录时路由报错的bug导致无法回到登录页面 3、全局配置文件修改,移除VITE_UPLOAD_URL配置等 --- src/store/modules/app.ts | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index 8733618..e3d6a56 100644 --- a/src/store/modules/app.ts +++ b/src/store/modules/app.ts @@ -1,6 +1,6 @@ import { defineStore } from 'pinia' import { store } from '../index' -import { setCssVar, humpToUnderline } from '@/utils' +import { humpToUnderline, setCssVar } from '@/utils' import { ElMessage } from 'element-plus' import { CACHE_KEY, useCache } from '@/hooks/web/useCache' import { ElementPlusSize } from '@/types/elementPlus' @@ -21,6 +21,7 @@ locale: boolean message: boolean tagsView: boolean + tagsViewImmerse: boolean tagsViewIcon: boolean logo: boolean fixedHeader: boolean @@ -58,6 +59,7 @@ locale: true, // 多语言图标 message: true, // 消息图标 tagsView: true, // 标签页 + tagsViewImmerse: false, // 标签页沉浸 tagsViewIcon: true, // 是否显示标签图标 logo: true, // logo fixedHeader: true, // 固定toolheader @@ -130,6 +132,9 @@ }, getTagsView(): boolean { return this.tagsView + }, + getTagsViewImmerse(): boolean { + return this.tagsViewImmerse }, getTagsViewIcon(): boolean { return this.tagsViewIcon @@ -208,6 +213,9 @@ setTagsView(tagsView: boolean) { this.tagsView = tagsView }, + setTagsViewImmerse(tagsViewImmerse: boolean) { + this.tagsViewImmerse = tagsViewImmerse + }, setTagsViewIcon(tagsViewIcon: boolean) { this.tagsViewIcon = tagsViewIcon }, -- Gitblit v1.9.3