From 8bd549c42f20faeedd0f2f1264e2f5003f2db3db Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期五, 21 三月 2025 13:15:08 +0800 Subject: [PATCH] 下载更改 --- src/views/structural/capabilityAndLaboratory/laboratory/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue index ad3396d..ef5109e 100644 --- a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue +++ b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue @@ -151,6 +151,7 @@ import { getToken } from "@/utils/auth"; export default { + name: 'Laboratory', components: { limsTable, }, @@ -332,7 +333,7 @@ this.$message.warning('鏆傛棤闄勪欢') return; } - this.$download.downloadFileFromUrl(row.fileUrl, row.fileUrl); + this.$download.saveAs(row.fileUrl, row.fileUrl); }, openAdd() { this.qualificationsConnectVisible = true; -- Gitblit v1.9.3