ผลสัมฤทธิ์ของงาน =>ปรับ fetch ข้อมูล

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-25 14:48:45 +07:00
parent ac0d7a58b6
commit c1e4a42ba3
2 changed files with 4 additions and 10 deletions

View file

@ -146,8 +146,8 @@ function onDelete(id: string) {
? config.API.kpiAchievement("special") + `/${id}`
: "";
await http.delete(url);
props.fetchList?.();
success($q, "ลบข้อมูลสำเร็จ");
props.fetchList?.();
} catch (err) {
messageError($q, err);
} finally {