From 0867f4bf2adfb44c3ee4c3edc99738d3bb90e979 Mon Sep 17 00:00:00 2001 From: Soybean Date: Wed, 15 Nov 2023 07:37:08 +0800 Subject: [PATCH] refactor(projects): themeStore: isCustomizeInfoColor to isInfoFollowPrimary --- .../modules/theme-drawer/modules/theme-color.vue | 8 ++------ src/store/modules/theme/index.ts | 15 +++------------ src/store/modules/theme/shared.ts | 2 +- src/typings/app.d.ts | 5 ++--- 4 files changed, 8 insertions(+), 22 deletions(-) diff --git a/src/layouts/modules/theme-drawer/modules/theme-color.vue b/src/layouts/modules/theme-drawer/modules/theme-color.vue index d1ca3c6..5068b24 100644 --- a/src/layouts/modules/theme-drawer/modules/theme-color.vue +++ b/src/layouts/modules/theme-drawer/modules/theme-color.vue @@ -13,10 +13,6 @@ const themeStore = useThemeStore(); function handleUpdateColor(color: string, key: App.Theme.ThemeColorKey) { themeStore.updateThemeColors(key, color); } - -function handleUpdateCustomizeInfoColor(checked: boolean) { - themeStore.updateIsCustomizeInfoColor(!checked); -}