From 083bc7004fa08f6eebd3003d421db5045ca78d5f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 15:54:36 +0800
Subject: [PATCH] 删除无用代码
---
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