ประกาศผล => fix bug

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-16 13:08:40 +07:00
parent 45a06402fe
commit 2ebcb1961c
3 changed files with 11 additions and 14 deletions

View file

@ -187,12 +187,10 @@ function onAnnounce() {
.post(config.API.evaluationUserDone, {
id: ids,
})
.then(() => {
setTimeout(async () => {
await porps.fetchData();
await success($q, "ประกาศผลสำเร็จ");
selected.value = [];
}, 1500);
.then(async () => {
await porps.fetchData();
await success($q, "ประกาศผลสำเร็จ");
selected.value = [];
})
.catch((err) => {
messageError($q, err);