From 2ca1984889b75112669a615964c24edf0dd2e5e4 Mon Sep 17 00:00:00 2001 From: jixinbao Date: Fri, 11 Oct 2024 15:06:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20uts=20=E7=BB=84=E4=BB=B6=20props=20?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=B5=8B=E8=AF=95=E6=89=93=E5=8D=B0=20log=20?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../methods/call-method-easycom-uni-modules-composition.uvue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/component-instance/methods/call-method-easycom-uni-modules-composition.uvue b/pages/component-instance/methods/call-method-easycom-uni-modules-composition.uvue index 5c99af0..9d4c56e 100644 --- a/pages/component-instance/methods/call-method-easycom-uni-modules-composition.uvue +++ b/pages/component-instance/methods/call-method-easycom-uni-modules-composition.uvue @@ -86,6 +86,7 @@ const value = res['detail']!['value'] as number[] const isArray = Array.isArray(value) const isLengthGt0 = value.length > 0 + console.log('is array',isArray,'is length>0',isLengthGt0,'res',isArray && isLengthGt0); isNumListValid.value = isArray && isLengthGt0 } // #endif @@ -105,6 +106,7 @@ const value = res['detail']!['value'] as any[] const isArray = Array.isArray(value) const isLengthGt0 = value.length > 0 + console.log('is array',isArray,'is length>0',isLengthGt0,'res',isArray && isLengthGt0); isObjListValid.value = isArray && isLengthGt0 } // #endif -- GitLab