แก้ออกคำสั่งอื่นส่ง id

This commit is contained in:
Kittapath 2024-06-12 09:25:25 +07:00
parent 478442a4ae
commit f72b618f91
2 changed files with 8 additions and 1 deletions

View file

@ -146,7 +146,7 @@ const addOther = async () => {
let pId: string[] = [];
let Type = props.type as string;
selected.value.forEach((e: any) => {
pId.push(e.profileId);
pId.push(e.id);
});
let data = {
id: pId,