fix:org name
This commit is contained in:
parent
f770fb6f0f
commit
8b303f7b0d
1 changed files with 1 additions and 3 deletions
|
|
@ -47,7 +47,6 @@ const formData = reactive({
|
||||||
system: "mgt",
|
system: "mgt",
|
||||||
fileAttachments: [] as File[],
|
fileAttachments: [] as File[],
|
||||||
menu: "",
|
menu: "",
|
||||||
org: orgName.value,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/** ฟังก์ชันบันทึกข้อมูล */
|
/** ฟังก์ชันบันทึกข้อมูล */
|
||||||
|
|
@ -60,7 +59,7 @@ function onSubmit() {
|
||||||
description: formData.description,
|
description: formData.description,
|
||||||
system: formData.system,
|
system: formData.system,
|
||||||
menu: formData.menu,
|
menu: formData.menu,
|
||||||
org: formData.org,
|
org: orgName.value,
|
||||||
};
|
};
|
||||||
|
|
||||||
const res = await http.post(config.API.orgIssues, payload);
|
const res = await http.post(config.API.orgIssues, payload);
|
||||||
|
|
@ -188,7 +187,6 @@ function onClose() {
|
||||||
formData.title = "";
|
formData.title = "";
|
||||||
formData.description = "";
|
formData.description = "";
|
||||||
formData.fileAttachments = [];
|
formData.fileAttachments = [];
|
||||||
formData.org = orgName.value;
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue