mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 05:40:20 +08:00
'admin-21.08.16:优化布局配置菜单/顶栏功能'
This commit is contained in:
parent
e0960f9009
commit
ea5dccebe6
@ -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();
|
||||||
|
@ -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';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user