แก้ดัก id
This commit is contained in:
parent
f34e62713a
commit
0afa3a07ee
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ function onSubmit() {
|
||||||
|
|
||||||
selectType: choice.value,
|
selectType: choice.value,
|
||||||
selectTypeYear: formData.year ? formData.year.toString() : null,
|
selectTypeYear: formData.year ? formData.year.toString() : null,
|
||||||
selectTypeId: projectName.value.id ? projectName.value.id : null,
|
selectTypeId: projectName.value ? projectName.value.id : null,
|
||||||
};
|
};
|
||||||
showLoader();
|
showLoader();
|
||||||
http[id.value ? "put" : "post"](url, body)
|
http[id.value ? "put" : "post"](url, body)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue