diff --git a/src/components/global/settings-drawer.vue b/src/components/global/settings-drawer.vue
new file mode 100644
index 0000000..813c1d9
--- /dev/null
+++ b/src/components/global/settings-drawer.vue
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+ 主题
+
+
+
+
+
+
+
diff --git a/src/components/global/theme-switch.vue b/src/components/global/theme-switch.vue
index 1c6422a..4e96d33 100644
--- a/src/components/global/theme-switch.vue
+++ b/src/components/global/theme-switch.vue
@@ -3,13 +3,16 @@ import { useThemeStore } from '@/stores/theme';
import { MoonOutline, SunnyOutline } from '@vicons/ionicons5';
import { NIcon, NSwitch } from 'naive-ui';
import { storeToRefs } from 'pinia';
+import type { ComponentInstance } from 'vue';
const themeStore = useThemeStore();
const { darkThemeEnabled } = storeToRefs(themeStore);
+
+defineExpose({} as ComponentInstance);
-
+
@@ -19,4 +22,4 @@ const { darkThemeEnabled } = storeToRefs(themeStore);
-
\ No newline at end of file
+
diff --git a/src/layouts/app-layout.vue b/src/layouts/app-layout.vue
index cd45504..f1a83e2 100644
--- a/src/layouts/app-layout.vue
+++ b/src/layouts/app-layout.vue
@@ -6,12 +6,12 @@ function renderIcon(icon: Component): () => VNode {
@@ -158,10 +163,10 @@ const toAlarmPage = () => {
+
+
+
+
+
+
+
@@ -192,6 +204,7 @@ const toAlarmPage = () => {
+