From d95fab75a7f1b86d9eb48f7d2818b97070b5d36a Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期日, 02 四月 2023 14:15:47 +0800 Subject: [PATCH] perf element global config --- src/layout/components/Settings/index.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue index 132a7ed..9bd345f 100644 --- a/src/layout/components/Settings/index.vue +++ b/src/layout/components/Settings/index.vue @@ -11,6 +11,8 @@ const appStore = useAppStore() const settingsStore = useSettingsStore() const permissionStore = usePermissionStore() + + const showSettings = ref(false); const theme = ref(settingsStore.theme); const sideTheme = ref(settingsStore.sideTheme); @@ -99,7 +101,7 @@ </script> <template> - <el-drawer v-model="showSettings" :withHeader="false" direction="rtl" size="300px"> + <el-drawer v-model="showSettings" :withHeader="false" direction="rtl" size="300px" close-on-click-modal> <div class="setting-drawer-title"> <h3 class="drawer-title">涓婚椋庢牸璁剧疆</h3> </div> -- Gitblit v1.9.3