2026-07-08 64b38f57628375dff92d147ddeefd771e6e85439
src/views/projectManagement/projectType/index.vue
@@ -250,13 +250,8 @@
}
/** 下载附件 */
function handleDownload(attachment) {
  const url = attachment?.url || attachment?.fileUrl || attachment?.tempPath || attachment?.fileName;
  if (!url) {
    ElMessage.warning("未找到可下载的文件地址");
    return;
  }
  proxy.$download.name(url);
function handleDownload(row) {
   proxy.$download.byUrl(row.url, row.originalFilename);
}
onMounted(() => {