tangning 7 月之前
父節點
當前提交
eabab778bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 } =
 const { size, fileList, upload, removeFile, previewFile, file, accept } =
   useUpload({
   useUpload({
     maxSize: 10 * 1024 * 1024,
     maxSize: 10 * 1024 * 1024,
-    formats: [".doc", ".docx", , ".pdf"],
+    formats: [".doc", ".docx", ".pdf"],
   });
   });
 const handleClick = (tab) => {
 const handleClick = (tab) => {
   console.log(tab);
   console.log(tab);