gaoluyang
2 天以前 df1406d0f571972d033dffd6a93fb4b94febeb56
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) => {
  // 校验文件名特殊字符