From 65de66c5d8a033966c9f06e20463d9b93b82d91f Mon Sep 17 00:00:00 2001 From: wanchun <445436867@qq.com> Date: Fri, 7 Jan 2022 17:35:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(plugin-layout):=20layout=E7=9A=84aside?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E6=9C=AA=E8=B7=9F=E9=9A=8F=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/runtime/views/BaseLayout.vue | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue b/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue index 53a357db..808b53a5 100644 --- a/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue +++ b/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue @@ -5,6 +5,7 @@ v-if="routeLayout.sidebar" v-model:collapsed="collapsed" :fixed="fixedSideBar" + :width="`${sideWidth}px`" class="layout-aside" collapsible :inverted="theme === 'dark'" @@ -33,6 +34,7 @@ > @@ -46,7 +48,7 @@ @@ -60,6 +62,7 @@