diff --git a/src/components/upload-file/UploadFile.vue b/src/components/upload-file/UploadFile.vue index 994e3261..cddcb356 100644 --- a/src/components/upload-file/UploadFile.vue +++ b/src/components/upload-file/UploadFile.vue @@ -4,7 +4,7 @@ import { SaveButton, UndoButton } from 'components/button'; import { VuePDF, usePDF } from '@tato30/vue-pdf'; -const currentFileSelected = ref(''); +const currentFileSelected = ref('citizenId'); const file = defineModel< { group?: string; @@ -27,6 +27,7 @@ const currentIndexDropdownList = ref(0); const props = withDefaults( defineProps<{ treeFile: { label: string; file: { label: string }[] }[]; + readonly?: boolean; dropdownList?: { label: string; value: string }[]; hideAction?: boolean; }>(), @@ -101,7 +102,13 @@ const { pdf, pages } = usePDF(computed(() => currentFile.value?.url));
- +