perf element global config

This commit is contained in:
LiuHao
2023-04-02 14:15:47 +08:00
parent 251d2411f2
commit d95fab75a7
8 changed files with 18 additions and 33 deletions

View File

@ -11,6 +11,8 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance;
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 @@ defineExpose({
</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>