v-slot:no-option
This commit is contained in:
parent
06134970c9
commit
a4b7549cd3
7 changed files with 204 additions and 99 deletions
|
|
@ -316,6 +316,7 @@ const filterSelector = (val: any, update: Function, name: any) => {
|
|||
)
|
||||
}
|
||||
const clearInsigniaFilters = (name: string) => {
|
||||
console.log(insigniaOp.value)
|
||||
if (name === "filterInsigniaOp") {
|
||||
DataStore.insignia = '';
|
||||
filterInsigniaOp.value = insigniaOp.value;
|
||||
|
|
@ -352,6 +353,13 @@ const clearInsigniaFilters = (name: string) => {
|
|||
input-class="text-bold text-grey"
|
||||
@update:model-value="selectorRound(selectRound)"
|
||||
>
|
||||
<template v-slot:no-option>
|
||||
<q-item>
|
||||
<q-item-section class="text-grey">
|
||||
ไม่มีข้อมูล
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
</template>
|
||||
</q-select>
|
||||
</div>
|
||||
<q-separator />
|
||||
|
|
@ -412,6 +420,13 @@ const clearInsigniaFilters = (name: string) => {
|
|||
class="cursor-pointer"
|
||||
/>
|
||||
</template>
|
||||
<template v-slot:no-option>
|
||||
<q-item>
|
||||
<q-item-section class="text-grey">
|
||||
ไม่มีข้อมูล
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
</template>
|
||||
</q-select>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue