fix: bank selected item logo
This commit is contained in:
parent
4534644f49
commit
3bc5823e16
1 changed files with 12 additions and 3 deletions
|
|
@ -130,10 +130,9 @@ watch(
|
||||||
outlined
|
outlined
|
||||||
clearable
|
clearable
|
||||||
use-input
|
use-input
|
||||||
fill-input
|
|
||||||
emit-value
|
emit-value
|
||||||
|
fill-input
|
||||||
map-options
|
map-options
|
||||||
hide-selected
|
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
option-value="value"
|
option-value="value"
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
@ -153,7 +152,7 @@ watch(
|
||||||
<q-item
|
<q-item
|
||||||
v-if="scope.opt"
|
v-if="scope.opt"
|
||||||
v-bind="scope.itemProps"
|
v-bind="scope.itemProps"
|
||||||
class="row items-center col-12"
|
class="row items-center"
|
||||||
>
|
>
|
||||||
<q-item-section avatar>
|
<q-item-section avatar>
|
||||||
<q-img
|
<q-img
|
||||||
|
|
@ -168,6 +167,16 @@ watch(
|
||||||
</q-item>
|
</q-item>
|
||||||
</template>
|
</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>
|
<template v-slot:no-option>
|
||||||
<q-item>
|
<q-item>
|
||||||
<q-item-section class="text-grey">
|
<q-item-section class="text-grey">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue