From e25f40ee6899ec8353ba491c5a9f5ef1d0ba65aa Mon Sep 17 00:00:00 2001 From: maxJianguo <14449292+maxjianguo@user.noreply.gitee.com> Date: Fri, 26 Jul 2024 16:25:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=90=8E=E7=9A=84=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E4=B9=9F=E6=94=AF=E6=8C=81=E7=94=A8=E6=88=B7=E5=9E=8B?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/executor/tools/editModal/formSelectModal.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/executor/tools/editModal/formSelectModal.tsx b/src/executor/tools/editModal/formSelectModal.tsx index 81e030367..6844f86ef 100644 --- a/src/executor/tools/editModal/formSelectModal.tsx +++ b/src/executor/tools/editModal/formSelectModal.tsx @@ -12,6 +12,7 @@ import useMenuUpdate from '@/hooks/useMenuUpdate'; import { Controller } from '@/ts/controller'; import * as config from '../../open/form/config'; import { MenuItemType } from 'typings/globelType'; +import { userFormatFilter } from '@/utils/tools'; interface IFormSelectProps { form: schema.XForm; fields: model.FieldModel[]; @@ -77,6 +78,7 @@ const FormSelectModal = ({ new CustomStore({ key: 'id', async load(loadOptions: any) { + loadOptions.filter = await userFormatFilter(loadOptions.filter, metaForm); loadOptions.filter = metaForm.parseFilter(loadOptions.filter); loadOptions.userData = []; if (selectMenu?.item?.value) { @@ -180,6 +182,7 @@ const FormSelectModal = ({ new CustomStore({ key: 'id', async load(loadOptions: any) { + loadOptions.filter = await userFormatFilter(loadOptions.filter, metaForm); loadOptions.filter = metaForm.parseFilter(loadOptions.filter); loadOptions.userData = []; const res = await metaForm.loadThing(loadOptions); -- Gitee