From 57660d799184af24a3c95a08d9dc305758f6a8d8 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 2 Jul 2025 14:07:52 +0700 Subject: [PATCH] fix: make treeFile prop optional in UploadFile component --- src/components/upload-file/UploadFile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/upload-file/UploadFile.vue b/src/components/upload-file/UploadFile.vue index 1e5bd73a..13d1584e 100644 --- a/src/components/upload-file/UploadFile.vue +++ b/src/components/upload-file/UploadFile.vue @@ -31,7 +31,7 @@ const currentIndexDropdownList = ref(0); const props = withDefaults( defineProps<{ - treeFile: { label: string; file: { label: string }[] }[]; + treeFile?: { label: string; file: { label: string }[] }[]; readonly?: boolean; dropdownList?: { label: string; value: string }[]; hideAction?: boolean;