From 8f81cb2c32c6c7772b31f3078e6901f2bc82cb23 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 7 Feb 2024 18:35:51 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A8=E0=B8=B6=E0=B8=81=E0=B8=A9?= =?UTF-8?q?=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_registry/components/Education.vue | 45 ++++++++++--------- .../interface/request/Education.ts | 2 +- .../interface/response/Education.ts | 2 +- 3 files changed, 25 insertions(+), 24 deletions(-) diff --git a/src/modules/04_registry/components/Education.vue b/src/modules/04_registry/components/Education.vue index ba45619ec..8c58ef6fd 100644 --- a/src/modules/04_registry/components/Education.vue +++ b/src/modules/04_registry/components/Education.vue @@ -349,13 +349,14 @@ dense lazy-rules :borderless="!edit" - :model-value="date2Thai(finishDate)" - :rules="[ - (val) => !!val || `${'กรุณาเลือกวันที่สำเร็จการศึกษา'}`, - ]" + :model-value="finishDate ? date2Thai(finishDate) : null" hide-bottom-space :label="`${'วันที่สำเร็จการศึกษา'}`" > + +