修复 'multiple' is assigned a value but never used no-unused-vars
This commit is contained in:
parent
5c24d42a39
commit
583e23a43c
1 changed files with 2 additions and 2 deletions
|
@ -408,10 +408,10 @@
|
|||
};
|
||||
},
|
||||
getInitialValue(){
|
||||
const {multiple, value} = this;
|
||||
const {value} = this;
|
||||
let initialValue = Array.isArray(value) ? value : [value];
|
||||
return initialValue.filter((item) => {
|
||||
return Boolean(item) || item === 0
|
||||
return Boolean(item) || item === 0;
|
||||
});
|
||||
},
|
||||
processOption(option, values, isFocused){
|
||||
|
|
Loading…
Add table
Reference in a new issue