Commit dc145516 authored by cinwell.li's avatar cinwell.li Committed by GitHub

Merge pull request #3277 from broven/dev

form-item: fix #3226
parents a8fab562 933d9a82
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
if (Array.isArray(value) && value.length > 0) { if (Array.isArray(value) && value.length > 0) {
this.validateDisabled = true; this.validateDisabled = true;
prop.o[prop.k] = []; prop.o[prop.k] = [];
} else if (value) { } else if (value !== '') {
this.validateDisabled = true; this.validateDisabled = true;
prop.o[prop.k] = this.initialValue; prop.o[prop.k] = this.initialValue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment