From 122fa62d859413d16175e0d97c7bf13f232dbb3a Mon Sep 17 00:00:00 2001
From: kailong321200875 <321200875@qq.com>
Date: Mon, 10 Oct 2022 16:06:54 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E7=AC=AC=E5=9B=9B?=
=?UTF-8?q?=E7=A7=8D=E5=B8=83=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/InterfaceDisplay.vue | 12 +++++
src/components/TabMenu/src/TabMenu.vue | 48 +++++++++++++++----
src/components/TabMenu/src/helper.ts | 8 ++--
src/layout/components/useRenderLayout.tsx | 19 ++++++--
src/locales/en.ts | 3 +-
src/locales/zh-CN.ts | 3 +-
src/store/modules/app.ts | 9 ++++
7 files changed, 84 insertions(+), 18 deletions(-)
diff --git a/src/components/Setting/src/components/InterfaceDisplay.vue b/src/components/Setting/src/components/InterfaceDisplay.vue
index 8050939..8e7d779 100644
--- a/src/components/Setting/src/components/InterfaceDisplay.vue
+++ b/src/components/Setting/src/components/InterfaceDisplay.vue
@@ -115,6 +115,13 @@ const dynamicRouterChange = (show: boolean) => {
appStore.setDynamicRouter(show)
}
+// 固定菜单
+const fixedMenu = ref(appStore.getFixedMenu)
+
+const fixedMenuChange = (show: boolean) => {
+ appStore.setFixedMenu(show)
+}
+
const layout = computed(() => appStore.getLayout)
watch(
@@ -198,5 +205,10 @@ watch(
{{ t('setting.dynamicRouter') }}