chore: 同步完整版代码

This commit is contained in:
xiaoxian521
2022-11-11 11:53:54 +08:00
parent 1bafbeaab7
commit d53496e495
16 changed files with 1090 additions and 784 deletions

View File

@@ -70,7 +70,7 @@ let isAutoCloseSidebar = true;
// 监听容器
emitter.on("resize", ({ detail }) => {
if (isMobile) return;
let { width } = detail;
const { width } = detail;
width <= 760 ? setTheme("vertical") : setTheme(useAppStoreHook().layout);
/** width app-wrapper类容器宽度
* 0 < width <= 760 隐藏侧边栏