Merge pull request #2047 from iview/pr/2036

Pr/2036
This commit is contained in:
Aresn 2017-10-08 21:54:12 -05:00 committed by GitHub
commit 8394211179

View file

@ -86,7 +86,7 @@
watch: {
error (val) {
this.validateMessage = val;
this.validateState = 'error';
this.validateState = val === '' ? '' : 'error';
},
validateStatus (val) {
this.validateState = val;
@ -246,4 +246,4 @@
this.dispatch('iForm', 'on-form-item-remove', this);
}
};
</script>
</script>