Refactor location

pull/12/head
cagataycivici 2018-12-30 12:53:46 +03:00
parent c23630d748
commit 2097835456
1 changed files with 5 additions and 5 deletions

View File

@ -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);