src/components/FileUpload/index.vue
@@ -231,10 +231,11 @@ } // 桌面端下载 const link = document.createElement("a"); link.href = url; link.href = file.downloadUrl; link.download = file.bucketFilename || file.key; link.click(); }; // 上传前校验 const handleBeforeUpload = (file) => { // 校验文件名特殊字符