แก้ไข บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์

This commit is contained in:
Thanit Konmek 2023-08-17 13:31:31 +07:00
parent 508fb3b02b
commit 759870d0aa
5 changed files with 91 additions and 24 deletions

View file

@ -1,5 +1,8 @@
<template>
<q-select v-bind="attrs">
<template v-for="(_, slot) in slots" v-slot:[slot]="scope">
<slot :name="slot" v-bind="scope || {}" />
</template>
<template v-slot:no-option>
<q-item>
<q-item-section class="text-black">
@ -10,6 +13,7 @@
</q-select>
</template>
<script setup lang="ts">
import { ref, useAttrs, defineAsyncComponent } from "vue";
import { ref, useAttrs, useSlots } from "vue";
const attrs = ref<any>(useAttrs());
const slots = ref<any>(useSlots());
</script>