Refactor location
parent
c23630d748
commit
2097835456
|
@ -67,6 +67,11 @@ export default {
|
||||||
overlayVisible: false
|
overlayVisible: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
outsideClickListener: null,
|
||||||
|
searchTimeout: null,
|
||||||
|
currentSearchChar: null,
|
||||||
|
previousSearchChar: null,
|
||||||
|
searchValue: null,
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.unbindOutsideClickListener();
|
this.unbindOutsideClickListener();
|
||||||
},
|
},
|
||||||
|
@ -75,11 +80,6 @@ export default {
|
||||||
this.alignOverlay();
|
this.alignOverlay();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
outsideClickListener: null,
|
|
||||||
searchTimeout: null,
|
|
||||||
currentSearchChar: null,
|
|
||||||
previousSearchChar: null,
|
|
||||||
searchValue: null,
|
|
||||||
methods: {
|
methods: {
|
||||||
getOptionLabel(option) {
|
getOptionLabel(option) {
|
||||||
return ObjectUtils.resolveFieldData(option, this.optionLabel);
|
return ObjectUtils.resolveFieldData(option, this.optionLabel);
|
||||||
|
|
Loading…
Reference in New Issue