diff --git a/public/favicon.ico b/public/favicon.ico
index 8b5965f..20ecae7 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/src/components/customUI/Upload.vue b/src/components/customUI/Upload.vue
index b10c5f8..b5ce62d 100644
--- a/src/components/customUI/Upload.vue
+++ b/src/components/customUI/Upload.vue
@@ -9,7 +9,7 @@ const props = defineProps({
getFileList: Function,
multiple: Boolean,
baseUrl: String,
- formats: { type: String, default: "txt、doc、xls、pdf、png、jpg" }
+ formats: { type: String, default: "txt、doc、xls、pdf、png、jpg、ppt、zip、rar" },
});
const acceptFileType = [
@@ -26,6 +26,13 @@ const acceptFileType = [
"application/msword",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.ms-powerpoint",
+ ".ppt",
+ ".pptx",
+ ".zip",
+ ".rar",
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation", // PowerPoint Files 2007+
+ "application/zip", // ZIP Files
+ "application/x-rar-compressed", // RAR Files
];
const loading = ref(false);
@@ -237,6 +244,14 @@ const revokeURL = (src) => {
:icon="['fas', 'file-powerpoint']"
/>
+
+
{{ $t("upload.description") }}
-{{ $t("upload.formats") }} : {{props.formats}}
++ {{ $t("upload.formats") }} : {{ props.formats }} +
diff --git a/src/fontawsomeIconRegister.js b/src/fontawsomeIconRegister.js index a2eae5a..84069cf 100644 --- a/src/fontawsomeIconRegister.js +++ b/src/fontawsomeIconRegister.js @@ -38,6 +38,7 @@ import { faFileExcel, faFileWord, faFilePowerpoint, + faFileArchive, faFileAlt, faDatabase, faBuilding, @@ -97,6 +98,7 @@ library.add( faFileExcel, faFileWord, faFilePowerpoint, + faFileArchive, faFileAlt, faDatabase, faBuilding,