fix: agencies option

This commit is contained in:
puriphatt 2024-11-25 15:30:46 +07:00
parent 4395a72e45
commit 4fbdbcb2b8

View file

@ -41,8 +41,8 @@ const nameEn = defineModel('nameEn', { default: '' });
:option="optionStore.globalOption?.agenciesType"
v-model="group"
>
<template v-slot:option="{ opt }">
<q-item clickable @click="group = opt.value as string">
<template v-slot:option="{ scope, opt }">
<q-item v-bind="scope.itemProps" clickable>
{{ opt.value }} ({{ opt.label }})
</q-item>
</template>