chore: file-upload

This commit is contained in:
dap
2024-10-15 20:40:41 +08:00
parent 30b16fd5a8
commit 2f16e64a3d
4 changed files with 18 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ const [BasicModal, modalApi] = useVbenModal({
},
});
const accept = ref(['txt', 'excel', 'word', 'pdf']);
const accept = ref(['xlsx', 'word', 'pdf']);
const maxNumber = ref(3);
const message = computed(() => {

View File

@@ -15,7 +15,7 @@ const fieldOptions = [
{ label: 'ossId', value: 'ossId' },
{ label: '链接地址', value: 'url' },
];
const fileAccept = ['txt', 'excel', 'word', 'pdf'];
const fileAccept = ['xlsx', 'word', 'pdf'];
const signleImage = ref<string>('');
</script>