zhang_12370
2025-06-24 6184b5e667e8f3088bdb129dd957af8e6049792b
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) => {
  // 校验文件名特殊字符