From 12888c2aa587c2f7cca3ebe2edb428707046a7df Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期三, 12 三月 2025 19:05:04 +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