mirror of https://github.com/ElemeFE/element
Form: Fix resetFields issue #(15181) (#15640)
parent
41ff993d0b
commit
466aa288a3
|
@ -242,6 +242,11 @@
|
|||
prop.o[prop.k] = this.initialValue;
|
||||
}
|
||||
|
||||
// reset validateDisabled after onFieldChange triggered
|
||||
this.$nextTick(() => {
|
||||
this.validateDisabled = false;
|
||||
});
|
||||
|
||||
this.broadcast('ElTimeSelect', 'fieldReset', this.initialValue);
|
||||
},
|
||||
getRules() {
|
||||
|
|
Loading…
Reference in New Issue