perf element global config
This commit is contained in:
		| @ -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> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 LiuHao
					LiuHao