fix: bank selected item logo

This commit is contained in:
puriphatt 2024-08-05 08:23:59 +00:00
parent 4534644f49
commit 3bc5823e16

View file

@ -130,10 +130,9 @@ watch(
outlined
clearable
use-input
fill-input
emit-value
fill-input
map-options
hide-selected
hide-bottom-space
option-value="value"
input-debounce="0"
@ -153,7 +152,7 @@ watch(
<q-item
v-if="scope.opt"
v-bind="scope.itemProps"
class="row items-center col-12"
class="row items-center"
>
<q-item-section avatar>
<q-img
@ -168,6 +167,16 @@ watch(
</q-item>
</template>
<template v-slot:selected-item="scope">
<q-item-section v-if="scope.opt" avatar class="q-py-sm">
<q-img
:src="`/img/bank/${scope.opt.value}.png`"
class="bordered"
style="border-radius: 50%"
/>
</q-item-section>
</template>
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">