แก้วินัย

This commit is contained in:
Warunee Tamkoo 2023-12-21 18:35:01 +07:00
parent dfbf639272
commit cf6d9fec29
7 changed files with 60 additions and 39 deletions

View file

@ -27,6 +27,10 @@ const props = defineProps({
type: Function,
default: () => "",
},
fetchData: {
type: Function,
default: () => console.log("function fetchData"),
},
rows: {
type: Array,
default: [],
@ -66,7 +70,8 @@ function onclickSend() {
$q,
async () => {
// success($q, `${props.title}`);
emit("returnPerson", selected.value);
await emit("returnPerson", selected.value);
props.fetchData();
props.close?.();
},
`ยืนยันการ${props.title}`,