| | |
| | | proxy.mittBus.on('getI18nConfig', (locale: string) => { |
| | | (state.i18nLocale as string | null) = locale; |
| | | }); |
| | | // 获取缓存中的布局配置 |
| | | // if (Local.get('themeConfig')) { |
| | | // storesThemeConfig.setThemeConfig(Local.get('themeConfig')); |
| | | // document.documentElement.style.cssText = Local.get('themeConfigStyle'); |
| | | // } |
| | | // 获取缓存中的布局配置; |
| | | if (Local.get('themeConfig')) { |
| | | storesThemeConfig.setThemeConfig(themeConfig.value); |
| | | // storesThemeConfig.setThemeConfig(Local.get('themeConfig')); |
| | | document.documentElement.style.cssText = Local.get('themeConfigStyle'); |
| | | } |
| | | // 获取缓存中的全屏配置 |
| | | if (Session.get('isTagsViewCurrenFull')) { |
| | | stores.setCurrenFullscreen(Session.get('isTagsViewCurrenFull')); |