| | |
| | | import useAppStore from '@/store/modules/app'
|
| | | import useSettingsStore from '@/store/modules/settings'
|
| | | import usePermissionStore from '@/store/modules/permission'
|
| | | import { handleThemeStyle } from '@/utils/theme'
|
| | |
|
| | | const { proxy } = getCurrentInstance();
|
| | | const appStore = useAppStore()
|
| | |
| | | function themeChange(val) {
|
| | | settingsStore.changeSetting({ key: 'theme', value: val })
|
| | | theme.value = val;
|
| | | handleThemeStyle(val);
|
| | | }
|
| | | function handleTheme(val) {
|
| | | settingsStore.changeSetting({ key: 'sideTheme', value: val })
|