diff --git a/src/components/DialogDebug.vue b/src/components/DialogDebug.vue index 1c76b87..77d5642 100644 --- a/src/components/DialogDebug.vue +++ b/src/components/DialogDebug.vue @@ -48,6 +48,8 @@ const formData = reactive({ system: "user", fileAttachments: [] as File[], menu: "", + email: "", + phone: "", }); /** ฟังก์ชันบันทึกข้อมูล */ @@ -61,6 +63,8 @@ function onSubmit() { system: formData.system, menu: formData.menu, org: orgName.value, + email: formData.email, + phone: formData.phone, }; const res = await http.post(config.API.orgIssues, payload); @@ -175,6 +179,8 @@ function onClose() { formData.title = ""; formData.description = ""; formData.fileAttachments = []; + formData.email = ""; + formData.phone = ""; } @@ -308,6 +314,42 @@ function onClose() { +