แก้ดักid

This commit is contained in:
STW_TTTY\stwtt 2024-08-29 16:53:50 +07:00
parent b5b281f991
commit bf54b56e90

View file

@ -215,7 +215,7 @@ function onSubmit() {
reasonDevelopment10: checkOtherBox13 ? reasonDevelopment10.value : "",
selectType: choice.value,
selectTypeYear: formData.year ? formData.year.toString() : null,
selectTypeId: projectName.value.id ? projectName.value.id : null,
selectTypeId: projectName.value ? projectName.value.id : null,
};
showLoader();
http[id.value ? "put" : "post"](url, body)