From 1fc04b44641df1c478fb6bf5236752e43ead830f Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 12 Jul 2024 14:14:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(data-source):=20=E8=BF=AD=E4=BB=A3=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E6=9D=A1=E4=BB=B6=E7=BB=84=E7=BC=96=E8=AF=91=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/data-source/src/utils.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/data-source/src/utils.ts b/packages/data-source/src/utils.ts index 2ea52126..32ede71f 100644 --- a/packages/data-source/src/utils.ts +++ b/packages/data-source/src/utils.ts @@ -85,7 +85,9 @@ export const compliedIteratorItemConditions = (displayConds: DisplayCond[] = [], } } - return result; + if (result) { + return result; + } } return false;