From f16c6ebd13db049475cfa57e0996691ede725d11 Mon Sep 17 00:00:00 2001 From: liwakin Date: Fri, 6 Dec 2024 18:23:45 +0800 Subject: [PATCH] fix: fix the existence of multiple isDark variables in an app --- src/core/components/VTSwitchAppearance.vue | 39 +------------------- src/core/composables/SwitchAppearance.ts | 43 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 37 deletions(-) create mode 100644 src/core/composables/SwitchAppearance.ts diff --git a/src/core/components/VTSwitchAppearance.vue b/src/core/components/VTSwitchAppearance.vue index 820f58a..67f7977 100644 --- a/src/core/components/VTSwitchAppearance.vue +++ b/src/core/components/VTSwitchAppearance.vue @@ -1,48 +1,13 @@