From 6af828260e7368d01d9b2c1d508087d1d763b8e6 Mon Sep 17 00:00:00 2001 From: wangzhi <2809755637@qq.com> Date: Fri, 2 Dec 2022 09:39:29 +0800 Subject: [PATCH] Update index.vue (#2433) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 下面这块代码 在我的项目打包后在比较宽的屏幕(2K 31 寸)有显示 bug 两边会出现大面积空白, 有偶发性 清缓存首次进入会出现 , 刷新就没了, 这里为什么要指定宽度 ? --- src/layouts/default/content/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layouts/default/content/index.vue b/src/layouts/default/content/index.vue index 3f6d193b..7e598686 100644 --- a/src/layouts/default/content/index.vue +++ b/src/layouts/default/content/index.vue @@ -36,11 +36,13 @@ position: relative; flex: 1 1 auto; min-height: 0; - + + // begin: 下面这块代码 在我的项目打包后在比较宽的屏幕(2K 31 寸)有显示 bug 有偶发性 清缓存首次进入会出现 , 刷新就没了, 这里为什么要指定宽度 ? &.fixed { width: 1200px; margin: 0 auto; } + // end &-loading { position: absolute;