แก้ 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);
|
formData.append("file", data.file);
|
||||||
showLoader();
|
showLoader();
|
||||||
http
|
http
|
||||||
.post(config.API.appealAdd(), formData)
|
.post(config.API.appealAdd() + "/admin", formData)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||||
router.push(`/discipline-appealcomplain/${res.data.result}`)
|
router.push(`/discipline-appealcomplain/${res.data.result}`);
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
messageError($q, e);
|
messageError($q, e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue