Browse Source

图片预览增加背景色

jwyu 3 years ago
parent
commit
11892bef9b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/style/global.scss

+ 4 - 0
src/style/global.scss

@@ -110,4 +110,8 @@ img{
 
 .el-popover.el-popper{
   min-width: 50px;
+}
+
+.el-image-viewer__canvas img{
+  background-color: #fff;
 }