update Form reset

This commit is contained in:
梁灏 2021-09-16 16:09:50 +08:00
parent 45098aa3b9
commit 3d6a354e97

View file

@ -234,7 +234,7 @@
// this.validateDisabled = true;
// prop.o[prop.k] = this.initialValue;
// }
if (Array.isArray(value)) {
if (Array.isArray(value) && this.initialValue !== null) {
this.validateDisabled = true;
prop.o[prop.k] = [].concat(this.initialValue);
} else {