fix bug response success

This commit is contained in:
Warunee Tamkoo 2024-04-11 17:25:09 +07:00
parent 8ffb6f1dae
commit 67d8038def

View file

@ -18,6 +18,7 @@ const {
date2Thai,
messageError,
dialogConfirm,
success,
} = useCounterMixin();
const route = useRoute();
const projectId = ref<string>(route.params.id.toLocaleString());
@ -220,6 +221,7 @@ function onSubmit() {
.put(config.API.developmentMainTab("tab5", projectId.value), formData)
.then(() => {
fetchData();
success($q, "บันทึกข้อมูลสำเร็จ");
})
.catch((err) => {
messageError($q, err);