แก้วินัย
This commit is contained in:
parent
dfbf639272
commit
cf6d9fec29
7 changed files with 60 additions and 39 deletions
|
|
@ -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}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue