Explorar el Código

修复:文章编辑富文本中添加视频弹层被覆盖

萤火科技 hace 5 años
padre
commit
5162ec34a3
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      src/components/Ueditor/config.js
  2. 1 1
      src/views/page/style.less

+ 1 - 1
src/components/Ueditor/config.js

@@ -4,7 +4,7 @@ const pathname = window.location.pathname
 // 默认配置
 export const defaultConfig = {
   // 编辑器层级的基数,默认是900
-  zIndex: 2,
+  zIndex: 1000,
   // 编辑器自动被内容撑高
   autoHeightEnabled: false,
   // 初始容器高度

+ 1 - 1
src/views/page/style.less

@@ -20,7 +20,7 @@
   border-top-left-radius: 10px;
   border-top-right-radius: 10px;
   background: #fff;
-  z-index: 100;
+  z-index: 1001;
   box-shadow: 0 0 4px 0 rgba(200, 200, 200, 0.5);
   padding: 15px 10px;