'admin-21.08.16:优化布局配置菜单/顶栏功能'

This commit is contained in:
lyt-Top 2021-08-16 21:44:16 +08:00
parent e0960f9009
commit ea5dccebe6
2 changed files with 1 additions and 2 deletions

View File

@ -618,7 +618,6 @@ export default defineComponent({
}); });
// //
proxy.mittBus.on('layoutMobileResize', (res: any) => { proxy.mittBus.on('layoutMobileResize', (res: any) => {
if (getThemeConfig.value.layout === res.layout) return false;
getThemeConfig.value.layout = res.layout; getThemeConfig.value.layout = res.layout;
getThemeConfig.value.isDrawer = false; getThemeConfig.value.isDrawer = false;
initSetLayoutChange(); initSetLayoutChange();

View File

@ -1,5 +1,5 @@
import { Module } from 'vuex'; import { Module } from 'vuex';
import { Session } from '/@/utils/storage.ts'; import { Session } from '/@/utils/storage';
// 此处加上 `.ts` 后缀报错,具体原因不详 // 此处加上 `.ts` 后缀报错,具体原因不详
import { UserInfosState, RootStateTypes } from '/@/store/interface/index'; import { UserInfosState, RootStateTypes } from '/@/store/interface/index';