form-item: fix #3226

pull/3277/head
broven 2017-03-05 16:54:19 +08:00
parent 4aabc95a6d
commit 933d9a8241
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}