diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue index ac0565fcf..5b11bf542 100644 --- a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue @@ -283,6 +283,8 @@ async function getData() { if (res.data.result.birthDate) { // กำหนดอายุ ส่งวันเกิดไปคำนวน age.value = calculateAge(res.data.result.birthDate); + } else { + age.value = null; } }) .catch((e) => {