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

---
 src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue
index 71a7c67..c753f94 100644
--- a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue
+++ b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue
@@ -241,7 +241,6 @@
     },
     handleRemove(file) {
       this.$axios.delete(this.$api.personnel.deleteCNASFile + "?fileName=" + file.name).then(res => {
-        if (res.code === 201) return;
         this.$message.success('鍒犻櫎鎴愬姛锛�')
         let index = this.form.fileList.indexOf(fileName)
         if (index != -1) {
@@ -254,7 +253,7 @@
         this.$message.warning('鏆傛棤鏂囦欢')
         return
       }
-      this.$download.downloadFileFromUrl(row.systemFileName, row.fileName)
+      this.$download.saveAs(row.systemFileName, row.fileName)
     }
   }
 }

--
Gitblit v1.9.3