fix: ไม่ให้เคลียร์ตัวที่เลือก
This commit is contained in:
parent
39fb0e1abe
commit
d60113c5f1
1 changed files with 3 additions and 3 deletions
|
|
@ -449,9 +449,9 @@ function deleteData(id: string) {
|
||||||
);
|
);
|
||||||
|
|
||||||
//เช็คว่าตำแหน่งที่ถูกลบมีการเลือกอยู่หรือไม่ถ้ามีให้ลบออกจาก selectedPos
|
//เช็คว่าตำแหน่งที่ถูกลบมีการเลือกอยู่หรือไม่ถ้ามีให้ลบออกจาก selectedPos
|
||||||
if (dataRow.find((item) => item.id === id)?.positionIsSelected) {
|
// if (dataRow.find((item) => item.id === id)?.positionIsSelected) {
|
||||||
selectedPos.value = [];
|
// selectedPos.value = [];
|
||||||
}
|
// }
|
||||||
|
|
||||||
rows.value = updatedRows;
|
rows.value = updatedRows;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue