From 2f706f879b1827ca106d23537af6502f390fe30b Mon Sep 17 00:00:00 2001 From: oat Date: Fri, 1 Dec 2023 17:49:25 +0700 Subject: [PATCH] refactor: add id for robot --- Services/client/src/components/DialogDelete.vue | 2 ++ Services/client/src/components/FileForm.vue | 8 ++++++++ Services/client/src/components/FileItem.vue | 3 ++- Services/client/src/components/FolderForm.vue | 8 ++++---- Services/client/src/components/PageLayout.vue | 11 ++++++++++- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/Services/client/src/components/DialogDelete.vue b/Services/client/src/components/DialogDelete.vue index e0c0573..479f518 100644 --- a/Services/client/src/components/DialogDelete.vue +++ b/Services/client/src/components/DialogDelete.vue @@ -37,6 +37,7 @@ const props = withDefaults( flat v-close-popup @click="() => ($emit('update:open', !open))" + id="dialogDeleteClose" /> diff --git a/Services/client/src/components/FileForm.vue b/Services/client/src/components/FileForm.vue index 53b2788..990434a 100644 --- a/Services/client/src/components/FileForm.vue +++ b/Services/client/src/components/FileForm.vue @@ -129,6 +129,7 @@ const file = ref() icon="close" color="red" @click="() => ($emit('update:open', !open), reset())" + id="fileFormIconClose" /> @@ -148,6 +149,7 @@ const file = ref() ? 'ไม่สามารถเพิ่มไฟล์ที่ชื่อยาวเกิน 85 ตัวอักษรได้' : '' " + id="inputFile" >