chore: prettier source code
This commit is contained in:
@@ -41,7 +41,9 @@ export default createComponent({
|
||||
return this.title;
|
||||
}
|
||||
|
||||
const match = this.options.filter(option => option.value === this.value);
|
||||
const match = this.options.filter(
|
||||
(option) => option.value === this.value
|
||||
);
|
||||
return match.length ? match[0].text : '';
|
||||
},
|
||||
},
|
||||
@@ -53,7 +55,7 @@ export default createComponent({
|
||||
},
|
||||
|
||||
beforeCreate() {
|
||||
const createEmitter = eventName => () => this.$emit(eventName);
|
||||
const createEmitter = (eventName) => () => this.$emit(eventName);
|
||||
|
||||
this.onOpen = createEmitter('open');
|
||||
this.onClose = createEmitter('close');
|
||||
@@ -105,7 +107,7 @@ export default createComponent({
|
||||
closeOnClickOverlay,
|
||||
} = this.parent;
|
||||
|
||||
const Options = this.options.map(option => {
|
||||
const Options = this.options.map((option) => {
|
||||
const active = option.value === this.value;
|
||||
return (
|
||||
<Cell
|
||||
|
||||
Reference in New Issue
Block a user