From 09f2a7017323f471ac3aa12d1d3826651b6a5163 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 28 Nov 2023 17:36:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E7=BB=84=E4=BB=B6=E8=BE=B9=E6=A1=86=E5=9B=BE=E5=B1=82?= =?UTF-8?q?=E5=B1=82=E7=BA=A7=EF=BC=8C=E4=BC=98=E5=8C=96=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=BC=98=E5=85=88=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/components/editor/ComponentWrapper.vue | 1 + core/frontend/src/components/deDrag/index.vue | 1 + core/frontend/src/store/index.js | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/core/frontend/src/components/canvas/components/editor/ComponentWrapper.vue b/core/frontend/src/components/canvas/components/editor/ComponentWrapper.vue index a6a7ba7096..f3ad7c68cf 100644 --- a/core/frontend/src/components/canvas/components/editor/ComponentWrapper.vue +++ b/core/frontend/src/components/canvas/components/editor/ComponentWrapper.vue @@ -387,6 +387,7 @@ export default { position: absolute; top: 0; left: 0; + z-index: 2; width: 100% !important; height: 100% !important; } diff --git a/core/frontend/src/components/deDrag/index.vue b/core/frontend/src/components/deDrag/index.vue index 546f5ca1f3..f005d035a2 100644 --- a/core/frontend/src/components/deDrag/index.vue +++ b/core/frontend/src/components/deDrag/index.vue @@ -2163,6 +2163,7 @@ export default { position: absolute; top: 0; left: 0; + z-index: 2; width: 100% !important; height: 100% !important; } diff --git a/core/frontend/src/store/index.js b/core/frontend/src/store/index.js index 7adc657223..91dece30ba 100644 --- a/core/frontend/src/store/index.js +++ b/core/frontend/src/store/index.js @@ -519,6 +519,14 @@ const data = { } else { element.options.value = paramValueStr } + // 去掉动态时间 + if (element.options.manualModify) { + element.options.manualModify = false + } + // 去掉首选项 + if (element.options?.attr?.selectFirst) { + element.options.attr.selectFirst = false + } } }) if (element.type === 'view') {