fixed #3722
This commit is contained in:
parent
0fb9d6453a
commit
9ccd81961b
1 changed files with 4 additions and 0 deletions
|
@ -638,6 +638,10 @@
|
|||
value(value){
|
||||
const {getInitialValue, getOptionData, publicValue} = this;
|
||||
|
||||
if (getInitialValue().length > 0) {
|
||||
this.hasExpectedValue = true
|
||||
}
|
||||
|
||||
if (value === '') this.values = [];
|
||||
else if (JSON.stringify(value) !== JSON.stringify(publicValue)) {
|
||||
this.$nextTick(() => this.values = getInitialValue().map(getOptionData).filter(Boolean));
|
||||
|
|
Loading…
Add table
Reference in a new issue