|
@ -607,6 +607,9 @@ const TableBaseForm_Ref = ref() |
|
|
const validateForm = () => { |
|
|
const validateForm = () => { |
|
|
console.log(TableBaseForm_Ref.value) |
|
|
console.log(TableBaseForm_Ref.value) |
|
|
let _lists = TableBaseForm_Ref.value?.map((v) => v.validate()) |
|
|
let _lists = TableBaseForm_Ref.value?.map((v) => v.validate()) |
|
|
|
|
|
if(!_lists ||_lists.length == 0){ |
|
|
|
|
|
return false |
|
|
|
|
|
} |
|
|
return Promise.all(_lists) |
|
|
return Promise.all(_lists) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
return true |
|
|
return true |
|
|