Commit 6e45d067 authored by shangkai's avatar shangkai Committed by baiyaaaaa

解决error变成null或者空的时候,validateState依然是error的问题。 (#2621)

parent a892a2c6
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
watch: { watch: {
error(value) { error(value) {
this.validateMessage = value; this.validateMessage = value;
this.validateState = 'error'; this.validateState = value ? 'error' : '';
}, },
validateStatus(value) { validateStatus(value) {
this.validateState = value; this.validateState = value;
......
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