Form: Fix resetFields issue #(15181) (#15640)

This commit is contained in:
luckyCao 2019-05-28 14:15:57 +08:00 committed by iamkun
parent 41ff993d0b
commit 466aa288a3

View File

@ -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() {