From 23c8b8154fcf7c9251d07f028f3e14737ba4cecd Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期二, 31 十二月 2024 19:04:35 +0800 Subject: [PATCH] 调度模型下发配置 --- 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