From d66ab921c996c38da3aa373ffdc7c974c157df33 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 07 三月 2025 09:37:53 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev

---
 src/views/structural/capabilityAndLaboratory/laboratory/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
index 8ab749f..16a9d49 100644
--- a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
@@ -328,7 +328,11 @@
     },
     // 璧勮川鏄庣粏闄勪欢涓嬭浇
     handleDownLoad(row) {
-      const url = process.env.VUE_APP_BASE_API + "/img/" + row.fileUrl;
+      if (!row.fileUrl) {
+        this.$message.warning('鏆傛棤闄勪欢')
+        return;
+      }
+      const url = this.javaApi + "/img/" + row.fileUrl;
       this.$download.saveAs(url, row.fileUrl);
     },
     openAdd() {

--
Gitblit v1.9.3