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; - -} + +} +