fix bug response success
This commit is contained in:
parent
8ffb6f1dae
commit
67d8038def
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue