From 82c3186309971517183fc44bfcac159612e48a7b Mon Sep 17 00:00:00 2001 From: Vben Date: Wed, 17 Mar 2021 21:08:46 +0800 Subject: [PATCH] fix(menu): make sure the menu is displayed properly on the small screen close #336 --- CHANGELOG.zh_CN.md | 1 + package.json | 2 +- .../Application/src/AppProvider.vue | 48 +++++++++++++++++-- .../Menu/src/components/MenuItemContent.vue | 2 +- src/hooks/event/useBreakpoint.ts | 1 + src/layouts/default/sider/LayoutSider.vue | 6 +-- src/layouts/default/sider/useLayoutSider.ts | 16 +------ src/settings/designSetting.ts | 2 +- src/settings/projectSetting.ts | 5 +- src/store/modules/app.ts | 13 +++++ src/store/types.ts | 9 ++++ yarn.lock | 18 +++---- 12 files changed, 87 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 1e0c34d1..e6fd83b2 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -7,6 +7,7 @@ ### 🐛 Bug Fixes - 确保 CountDownInput 组件重置清空值 +- 修复分割模式下在小屏幕中显示问题 ## 2.1.0 (2021-03-15) diff --git a/package.json b/package.json index f610d8e2..764ab462 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "vite-plugin-style-import": "^0.8.1", "vite-plugin-svg-icons": "^0.3.5", "vite-plugin-theme": "^0.5.0", - "vite-plugin-windicss": "0.8.3", + "vite-plugin-windicss": "0.8.4", "vue-eslint-parser": "^7.6.0", "yargs": "^16.2.0" }, diff --git a/src/components/Application/src/AppProvider.vue b/src/components/Application/src/AppProvider.vue index 354a1bf1..35e6867e 100644 --- a/src/components/Application/src/AppProvider.vue +++ b/src/components/Application/src/AppProvider.vue @@ -1,11 +1,13 @@