From 093db03ab3e572e1dccd156fd166bbe4837139a1 Mon Sep 17 00:00:00 2001
From: liwenxuan <1298531568@qq.com>
Date: Tue, 15 Oct 2024 10:03:54 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A9=BF=E6=A2=AD=E6=A1=86=E7=BC=96=E8=BE=91?=
=?UTF-8?q?=E5=9B=BA=E5=AE=9A=E9=80=89=E9=A1=B9=E6=97=B6=EF=BC=8C=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E7=9A=84=E8=8A=82=E7=82=B9=E6=97=A0=E6=B3=95=E7=AB=8B?=
=?UTF-8?q?=E5=8D=B3=E9=A2=84=E8=A7=88=E5=88=B0=EF=BC=8C=E9=9C=80=E4=BF=9D?=
=?UTF-8?q?=E5=AD=98=E5=90=8E=E9=80=80=E5=87=BA=E9=87=8D=E8=BF=9B=E6=89=8D?=
=?UTF-8?q?=E8=83=BD=E9=A2=84=E8=A7=88=E5=88=B0=E4=BF=AE=E6=94=B9=E5=90=8E?=
=?UTF-8?q?=E7=9A=84----bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../DesignForm/formControlPropertiNew.vue | 24 +-
src/widget/lowcodetransfer/index.vue | 9 +-
.../lowcodetransfer/lowcodeTransfer.vue | 458 ++++++++++++------
3 files changed, 315 insertions(+), 176 deletions(-)
diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue
index 84eabfb..3a48fb3 100644
--- a/src/components/DesignForm/formControlPropertiNew.vue
+++ b/src/components/DesignForm/formControlPropertiNew.vue
@@ -1261,26 +1261,20 @@ const getPropByPath = (obj: any, path: string, val: any) => {
}
// 属性设置相关结束
- const showAssociatedFormsFillRole = ref(true)
+
//关联表单数据填充时无法获取当前表单新增且保存的字段,只有关闭重启后方能获取----bug修改
- const saveRefreshFormControlAttr = () => {
-
- //啊啊啊
-
-
- //setTimeout(() => {
-
- getAssociatedFormsCurrentFieldTree1()
-
-
+ //穿梭框编辑固定选项时,修改的节点无法立即预览到,需保存后退出重进才能预览到修改后的----bug修改
+
+ const showAssociatedFormsFillRole = ref(true)
+ const saveRefreshFormControlAttr = () => {
+ getAssociatedFormsCurrentFieldTree1()
showAssociatedFormsFillRole.value = false;
// 等待一个短时间的延迟,确保组件卸载完成
- setTimeout(() => {
- showAssociatedFormsFillRole.value = true;
- }, 200);
- //}, 13000);
+ setTimeout(() => {
+ showAssociatedFormsFillRole.value = true;
+ }, 200);
};
// 多选固定选项删除
diff --git a/src/widget/lowcodetransfer/index.vue b/src/widget/lowcodetransfer/index.vue
index 4fe3971..cc71816 100644
--- a/src/widget/lowcodetransfer/index.vue
+++ b/src/widget/lowcodetransfer/index.vue
@@ -14,7 +14,7 @@
-
+
@@ -482,7 +619,7 @@ if(transferConfig.transferDataSource==="固定选项"){
padding-left: 10px;
border-radius: 5px 5px 0 0;
border-bottom: 1px solid gainsboro;
-
+
}
.buttonArea {
@@ -515,5 +652,6 @@ if(transferConfig.transferDataSource==="固定选项"){
border-radius: 5px;
height: 456px;
background-color: white;
-
-}
+
+}
+