From 8553a405879faf468bf3ef15e57ec2c92dbb10b7 Mon Sep 17 00:00:00 2001 From: summer_last Date: Sat, 30 Mar 2019 15:04:18 +0800 Subject: [PATCH 1/2] Update editor.vue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: 菜单栏按钮展开无法点击(内容区域在菜单按钮组上面导致) 移除 .editor-wrapper *{ z-index: 100 !important; } --- src/components/editor/editor.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/editor/editor.vue b/src/components/editor/editor.vue index 881c73eda..a89e418f6 100644 --- a/src/components/editor/editor.vue +++ b/src/components/editor/editor.vue @@ -68,8 +68,3 @@ export default { } - From ff9634cf6e3abd90d98083b193169a49c544555c Mon Sep 17 00:00:00 2001 From: summer_last Date: Sat, 30 Mar 2019 16:10:32 +0800 Subject: [PATCH 2/2] Update editor.vue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit wangEdit z-Index 默认值是10000大于模态框的z-Index 值 导致模态框内容被覆盖 将wangEdit z-Index 改为100 --- src/components/editor/editor.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/editor/editor.vue b/src/components/editor/editor.vue index a89e418f6..a82d2cf67 100644 --- a/src/components/editor/editor.vue +++ b/src/components/editor/editor.vue @@ -59,6 +59,7 @@ export default { this.$emit('on-change', html, text) } this.editor.customConfig.onchangeTimeout = this.changeInterval + this.editor.customConfig.zIndex = 100 // create这个方法一定要在所有配置项之后调用 this.editor.create() // 如果本地有存储加载本地存储内容