This commit is contained in:
mo.duan 2019-10-08 10:30:07 +08:00
parent 6b0409622b
commit 3c88bbe182

View file

@ -258,7 +258,7 @@
this.$on('on-select-selected', this.onOptionClick);
// set the initial values if there are any
if (!this.remote && this.selectOptions.length > 0){
if ( this.selectOptions.length > 0){
this.values = this.getInitialValue().map(value => {
if (typeof value !== 'number' && !value) return null;
return this.getOptionData(value);