diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index 59e61f2..b218672 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -1,62 +1,7 @@
@@ -65,23 +10,23 @@ watch(
系统布局配置
显示标签栏
-
+
显示侧边栏 Logo
-
+
固定 Header
-
+
显示切换主题按钮
-
+
显示全屏按钮
-
+
diff --git a/src/store/modules/settings.ts b/src/store/modules/settings.ts
index 37bf717..85abce4 100644
--- a/src/store/modules/settings.ts
+++ b/src/store/modules/settings.ts
@@ -21,32 +21,5 @@ export const useSettingsStore = defineStore({
showThemeSwitch: layoutSettings.showThemeSwitch,
showScreenfull: layoutSettings.showScreenfull
}
- },
- actions: {
- changeSetting(payload: { key: string; value: any }) {
- const { key, value } = payload
- switch (key) {
- case "fixedHeader":
- this.fixedHeader = value
- break
- case "showSettings":
- this.showSettings = value
- break
- case "showSidebarLogo":
- this.showSidebarLogo = value
- break
- case "showTagsView":
- this.showTagsView = value
- break
- case "showThemeSwitch":
- this.showThemeSwitch = value
- break
- case "showScreenfull":
- this.showScreenfull = value
- break
- default:
- break
- }
- }
}
})