tangning 7 miesięcy temu
rodzic
commit
eabab778bb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/view/material/index.vue

+ 1 - 1
src/view/material/index.vue

@@ -154,7 +154,7 @@ const showModal = ref(false);
 const { size, fileList, upload, removeFile, previewFile, file, accept } =
   useUpload({
     maxSize: 10 * 1024 * 1024,
-    formats: [".doc", ".docx", , ".pdf"],
+    formats: [".doc", ".docx", ".pdf"],
   });
 const handleClick = (tab) => {
   console.log(tab);