Merge pull request #3277 from broven/dev

form-item: fix #3226
pull/3313/head
cinwell.li 2017-03-06 18:46:46 +08:00 committed by GitHub
commit dc145516c9
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;
}