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 5c99af006a62a5e60f977531087b3659d30ae3dd..9d4c56e7c3f11ca225937205cc723eedf433409c 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