From 3a0e4cb8df376e9264408567e919524cd286b4bb Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Thu, 20 Feb 2025 08:23:31 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20:hammer:=20=E6=B3=A8=E9=87=8A=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Settings/components/ThemeColorPicker.vue | 2 +- src/types/global.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Settings/components/ThemeColorPicker.vue b/src/layout/components/Settings/components/ThemeColorPicker.vue index 587c1ac5..bfa82d33 100644 --- a/src/layout/components/Settings/components/ThemeColorPicker.vue +++ b/src/layout/components/Settings/components/ThemeColorPicker.vue @@ -13,7 +13,7 @@ const props = defineProps({ const emit = defineEmits(["update:modelValue"]); -// 定义颜色预设 +// 主题颜色预设 const colorPresets = [ "#4080FF", "#ff4500", diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 2a285ab1..eb560d0c 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -63,7 +63,7 @@ declare global { /** 是否显示侧边栏Logo */ sidebarLogo: boolean; /** 导航栏布局(left|top|mix) */ - layout: string; + layout: "left" | "top" | "mix"; /** 主题颜色 */ themeColor: string; /** 主题模式(dark|light) */