From a743cc58553ef1394112bb8adf8be190055610aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=A4=A7=E9=9B=AA?= <2291335922@qq.com> Date: Thu, 30 Nov 2023 17:35:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E8=B1=A1=E5=AD=97=E6=AE=B5=E4=B8=8A?= =?UTF-8?q?=E9=85=8D=E7=BD=AEfiltersFunction=E5=90=8E=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E8=AE=B0=E5=BD=95=E5=92=8C=E7=BC=96=E8=BE=91=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=97=B6=E8=BF=87=E6=BB=A4=E5=87=BD=E6=95=B0=E7=AC=AC?= =?UTF-8?q?=E4=BA=8C=E4=B8=AA=E5=8F=82=E6=95=B0"values"=E7=9A=84=E5=80=BC?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E4=B8=8D=E4=B8=80=E8=87=B4=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=BC=96=E8=BE=91=E6=97=B6=E5=AD=97=E6=AE=B5=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BAid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/steedos/steedos-platform/issues/5887 --- .../amis-lib/src/lib/converter/amis/fields/lookup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/fields/lookup.js b/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/fields/lookup.js index 66611e678..00eab8c3d 100644 --- a/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/fields/lookup.js +++ b/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/fields/lookup.js @@ -341,7 +341,7 @@ export async function lookupToAmisPicker(field, readonly, ctx){ const filtersFunction = ${field.filtersFunction || field._filtersFunction}; if(filtersFunction && !inFilterForm){ - const _filters = filtersFunction(filters, api.data.$self.__super.__super); + const _filters = filtersFunction(filters, api.data.$self.__super); if(_filters && _filters.length > 0){ filters.push(_filters); }