From 72906c4b72b3b94bae98e6d33dbb1afb32a03807 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Mon, 23 Sep 2024 10:46:48 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=AA=E0=B9=88?= =?UTF-8?q?=E0=B8=87=E0=B8=A7=E0=B9=88=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/05_command/views/lists.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/05_command/views/lists.vue b/src/modules/05_command/views/lists.vue index f4ffca1d..5c38d9c9 100644 --- a/src/modules/05_command/views/lists.vue +++ b/src/modules/05_command/views/lists.vue @@ -147,7 +147,7 @@ function onDialogEdit(data: ListOrder) { name.value = data.name; status.value = data.isActive; category.value = data.commandSysId; - subtitle.value = data.subtitle; + subtitle.value = data.subtitle ? data.subtitle :''; isEdit.value = true; isAttachment.value = data.isAttachment; dialogFormCommand.value = true; @@ -160,6 +160,7 @@ function closeDialog() { commandId.value = ""; isEdit.value = false; dialogFormCommand.value = false; + subtitle.value = '' name.value = ""; status.value = false; category.value = "";