commit
8394211179
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue