Commit 6af828260e7368d01d9b2c1d508087d1d763b8e6

Authored by wangzhi
Committed by GitHub
1 parent 5a9a8644

Update index.vue (#2433)

下面这块代码 在我的项目打包后在比较宽的屏幕(2K 31 寸)有显示 bug 两边会出现大面积空白,   有偶发性 清缓存首次进入会出现 , 刷新就没了, 这里为什么要指定宽度 ?
src/layouts/default/content/index.vue
... ... @@ -36,11 +36,13 @@
36 36 position: relative;
37 37 flex: 1 1 auto;
38 38 min-height: 0;
39   -
  39 +
  40 + // begin: 下面这块代码 在我的项目打包后在比较宽的屏幕(2K 31 寸)有显示 bug 有偶发性 清缓存首次进入会出现 , 刷新就没了, 这里为什么要指定宽度 ?
40 41 &.fixed {
41 42 width: 1200px;
42 43 margin: 0 auto;
43 44 }
  45 + // end
44 46  
45 47 &-loading {
46 48 position: absolute;
... ...