BUG 28287

This commit is contained in:
aixianling
2022-03-16 17:15:48 +08:00
parent 252d9c30d3
commit 014cf36b37

View File

@@ -430,7 +430,7 @@ export default {
this.formDataList.map((item) => {
item.map((items) => {
if (items.mustFill == 1 && this.formData[items.fieldDbName] === '') {
if (items.mustFill == 1 && !this.formData[items.fieldDbName]) {
isValid = false
return this.$u.toast(`${items.fieldName}为必填项`)
}