From be772fcc832117c2f1117d0d4a797a279f7ef403 Mon Sep 17 00:00:00 2001 From: lijianxiong <1518062161@qq.com> Date: Thu, 7 Nov 2024 23:29:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E5=85=B3=E7=B3=BB=E8=A7=86=E5=9B=BE=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=A1=8C=E4=B8=BA=E6=89=A7=E8=A1=8C=E4=B8=A4?= =?UTF-8?q?=E6=AC=A1=E5=8F=8A=E9=80=82=E9=85=8D=E5=85=B3=E7=B3=BB=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E6=98=AF=E5=90=A6=E6=89=A7=E8=A1=8C=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=A1=8C=E4=B8=BA=E5=8F=AF=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE=20SRFNAV?= =?UTF-8?q?PARAM.noloaddefault=3Dtrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/control/form/form-detail/form-druipart/form-druipart.tsx | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca1688f9..28889d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - 修复ios中时间选择器弹出文本输入框 - 修复ios富文本弹出框层级问题 - 修复ios文件上传编辑器弹框位置异常 +- 修复表单关系视图加载数据行为执行两次及适配关系视图是否执行加载数据行为可通过视图参数配置 ## [0.0.34] - 2024-11-04 diff --git a/src/control/form/form-detail/form-druipart/form-druipart.tsx b/src/control/form/form-detail/form-druipart/form-druipart.tsx index d4d52917..dd08e03c 100644 --- a/src/control/form/form-detail/form-druipart/form-druipart.tsx +++ b/src/control/form/form-detail/form-druipart/form-druipart.tsx @@ -68,6 +68,11 @@ export const FormDRUIPart = defineComponent({ params: this.controller.navParams, key: this.controller.state.viewComponentKey, viewId: this.controller.model.appViewId, + state: { + noLoadDefault: !( + this.controller.navParams?.noloaddefault === 'false' + ), + }, onCreated: this.onCreated, })} -- Gitee