This commit is contained in:
mo.duan 2019-10-08 11:46:18 +08:00
parent 3c88bbe182
commit a6068736cb
2 changed files with 53 additions and 80 deletions

View file

@ -710,7 +710,7 @@
if (value === '') this.values = [];
else if (checkValuesNotEqual(value,publicValue,values)) {
this.$nextTick(() => this.values = getInitialValue().map(getOptionData).filter(Boolean));
this.dispatch('FormItem', 'on-form-change', this.publicValue);
!(Array.isArray(value)) && this.dispatch('FormItem', 'on-form-change', this.publicValue);
}
},
values(now, before){