fix: make treeFile prop optional in UploadFile component

This commit is contained in:
puriphatt 2025-07-02 14:07:52 +07:00
parent 9ab61d8ded
commit 57660d7991

View file

@ -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;