diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue index ccb16064c..5db0a2b76 100644 --- a/src/components/TableForm/src/TableForm.vue +++ b/src/components/TableForm/src/TableForm.vue @@ -607,6 +607,9 @@ const TableBaseForm_Ref = ref() const validateForm = () => { console.log(TableBaseForm_Ref.value) let _lists = TableBaseForm_Ref.value?.map((v) => v.validate()) + if(!_lists ||_lists.length == 0){ + return false + } return Promise.all(_lists) .then(() => { return true