fix #5352
This commit is contained in:
parent
fdcf4cb635
commit
c9985ada18
1 changed files with 6 additions and 3 deletions
|
@ -84,9 +84,12 @@
|
|||
};
|
||||
},
|
||||
watch: {
|
||||
error (val) {
|
||||
error: {
|
||||
handler (val) {
|
||||
this.validateMessage = val;
|
||||
this.validateState = val === '' ? '' : 'error';
|
||||
this.validateState = val ? 'error' : '';
|
||||
},
|
||||
immediate: true
|
||||
},
|
||||
validateStatus (val) {
|
||||
this.validateState = val;
|
||||
|
|
Loading…
Add table
Reference in a new issue