From 359ccdd85b70a01c7c44c193aa87e804b7c72ce4 Mon Sep 17 00:00:00 2001 From: Leet <76251617+skyline523@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:09:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=86=85=E5=AE=B9=E5=8C=BA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=85=A8=E5=B1=80`Stretch`=E9=85=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E5=8F=AF=E8=87=AA=E5=AE=9A=E4=B9=89=E7=B4=A7=E5=87=91=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E8=BD=BB=E6=9D=BE=E6=89=BE=E5=88=B0=E6=89=80?= =?UTF-8?q?=E9=9C=80=E4=BF=A1=E6=81=AF=20(#968)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 页面添加stretch配置 --- public/platform-config.json | 1 + src/layout/components/appMain.vue | 19 ++++- src/layout/components/setting/index.vue | 92 ++++++++++++++++++++++--- src/layout/hooks/useLayout.ts | 3 +- src/utils/responsive.ts | 3 +- types/global.d.ts | 2 + 6 files changed, 107 insertions(+), 13 deletions(-) diff --git a/public/platform-config.json b/public/platform-config.json index b9f964279..c6b2db6a9 100644 --- a/public/platform-config.json +++ b/public/platform-config.json @@ -14,6 +14,7 @@ "Weak": false, "HideTabs": false, "HideFooter": false, + "Stretch": false, "SidebarStatus": true, "EpThemeColor": "#409EFF", "ShowLogo": true, diff --git a/src/layout/components/appMain.vue b/src/layout/components/appMain.vue index 43842f3fe..8543acc24 100644 --- a/src/layout/components/appMain.vue +++ b/src/layout/components/appMain.vue @@ -1,6 +1,6 @@