mirror of https://github.com/ElemeFE/element
form-item: fix #3226
parent
4aabc95a6d
commit
933d9a8241
|
@ -164,7 +164,7 @@
|
|||
if (Array.isArray(value) && value.length > 0) {
|
||||
this.validateDisabled = true;
|
||||
prop.o[prop.k] = [];
|
||||
} else if (value) {
|
||||
} else if (value !== '') {
|
||||
this.validateDisabled = true;
|
||||
prop.o[prop.k] = this.initialValue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue