From 0c48d300184fbe0a5bdaf99dc5df8f690e67749c Mon Sep 17 00:00:00 2001 From: Kittapath Date: Tue, 26 Sep 2023 11:19:12 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=A5=E0=B8=B0?= =?UTF-8?q?=E0=B9=80=E0=B8=AD=E0=B8=B5=E0=B8=A2=E0=B8=94=E0=B8=9E=E0=B9=89?= =?UTF-8?q?=E0=B8=99=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registry/components/Profile.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/modules/04_registry/components/Profile.vue b/src/modules/04_registry/components/Profile.vue index c8fc85e7a..e0ac9546f 100644 --- a/src/modules/04_registry/components/Profile.vue +++ b/src/modules/04_registry/components/Profile.vue @@ -382,8 +382,8 @@ class="bg-white" style="color: #ff8080" > - ลบรูปภาพ - + ลบรูปภาพ + @@ -836,8 +836,9 @@ const fetchData = async () => { if (reason.length > 0) { leaveReason.value = ` (พ้นจากราชการด้วยสาเหตุ: ${reason[0].name})`; } else { - leaveReason.value = ""; + leaveReason.value = ` (พ้นจากราชการด้วยสาเหตุ: ${data.leaveReason})`; } + console.log(data.leaveReason); reasonStatus.value = reason.length > 0 ? true : false; }) .catch((e) => {