fix: make treeFile prop optional in UploadFile component
This commit is contained in:
parent
9ab61d8ded
commit
57660d7991
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const currentIndexDropdownList = ref(0);
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
treeFile: { label: string; file: { label: string }[] }[];
|
treeFile?: { label: string; file: { label: string }[] }[];
|
||||||
readonly?: boolean;
|
readonly?: boolean;
|
||||||
dropdownList?: { label: string; value: string }[];
|
dropdownList?: { label: string; value: string }[];
|
||||||
hideAction?: boolean;
|
hideAction?: boolean;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue