From 8ccb73c04d78427220daa5305930487a20adb72d Mon Sep 17 00:00:00 2001 From: kubeops Date: Sun, 7 Jul 2024 12:29:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89RightPanel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Settings/SelectLayoutMode.vue | 103 ------------------ src/layouts/components/Settings/index.vue | 86 --------------- src/layouts/components/index.ts | 1 - src/layouts/index.vue | 8 +- 4 files changed, 4 insertions(+), 194 deletions(-) delete mode 100644 src/layouts/components/Settings/SelectLayoutMode.vue delete mode 100644 src/layouts/components/Settings/index.vue diff --git a/src/layouts/components/Settings/SelectLayoutMode.vue b/src/layouts/components/Settings/SelectLayoutMode.vue deleted file mode 100644 index 28ff95ec..00000000 --- a/src/layouts/components/Settings/SelectLayoutMode.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/src/layouts/components/Settings/index.vue b/src/layouts/components/Settings/index.vue deleted file mode 100644 index a932ed20..00000000 --- a/src/layouts/components/Settings/index.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - - - diff --git a/src/layouts/components/index.ts b/src/layouts/components/index.ts index c6a9ab27..3c2f9d2e 100644 --- a/src/layouts/components/index.ts +++ b/src/layouts/components/index.ts @@ -1,6 +1,5 @@ export { default as AppMain } from "./AppMain.vue" export { default as NavigationBar } from "./NavigationBar/index.vue" -export { default as Settings } from "./Settings/index.vue" export { default as Sidebar } from "./Sidebar/index.vue" export { default as TagsView } from "./TagsView/index.vue" export { default as RightPanel } from "./RightPanel/index.vue" diff --git a/src/layouts/index.vue b/src/layouts/index.vue index fb2712da..c0c35e45 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -9,7 +9,7 @@ import { useLayoutMode } from "@/hooks/useLayoutMode" import LeftMode from "./LeftMode.vue" import TopMode from "./TopMode.vue" import LeftTopMode from "./LeftTopMode.vue" -import { Settings, RightPanel } from "./components" +// import { Settings, RightPanel } from "./components" import { getCssVariableValue, setCssVariableValue } from "@/utils" /** Layout 布局响应式 */ @@ -19,7 +19,7 @@ const { setWatermark, clearWatermark } = useWatermark() const { isMobile } = useDevice() const { isLeft, isTop, isLeftTop } = useLayoutMode() const settingsStore = useSettingsStore() -const { showSettings, showTagsView, showWatermark, showGreyMode, showColorWeakness } = storeToRefs(settingsStore) +const { showTagsView, showWatermark, showGreyMode, showColorWeakness } = storeToRefs(settingsStore) const classes = computed(() => { return { @@ -53,9 +53,9 @@ watchEffect(() => { - +