1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

Fixed error with ready for summit method for panel (#440)

This commit is contained in:
Yamel Senih 2020-04-07 18:26:21 -04:00 committed by GitHub
parent 8a792e1803
commit b653f430cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1027,7 +1027,7 @@ const panel = {
if (row) {
value = row[fieldItem.columnName]
}
if (fieldIsDisplayed(fieldItem) && isMandatory && isEmptyValue(value)) {
if (fieldIsDisplayed(fieldItem) && isMandatory && !isEmptyValue(value)) {
return true
}
})