From ca22cdd5550cfa0defb0f430c538698182cdaec1 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 30 十二月 2024 16:42:49 +0800 Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3 --- 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