แก้ path อุทธรณ์
This commit is contained in:
parent
ee0233a27e
commit
8254bd9dfd
1 changed files with 2 additions and 2 deletions
|
|
@ -30,10 +30,10 @@ async function onSubmit(data: any) {
|
|||
formData.append("file", data.file);
|
||||
showLoader();
|
||||
http
|
||||
.post(config.API.appealAdd(), formData)
|
||||
.post(config.API.appealAdd() + "/admin", formData)
|
||||
.then((res) => {
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
router.push(`/discipline-appealcomplain/${res.data.result}`)
|
||||
router.push(`/discipline-appealcomplain/${res.data.result}`);
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue