From 573265f7d79341298ba4287be38f00ddbc66e7ec Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 07 三月 2025 12:00:51 +0800 Subject: [PATCH] 标准查新bug --- src/views/CNAS/systemManagement/documentControl/components/FileList.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentControl/components/FileList.vue b/src/views/CNAS/systemManagement/documentControl/components/FileList.vue index 88bc13d..4696f3e 100644 --- a/src/views/CNAS/systemManagement/documentControl/components/FileList.vue +++ b/src/views/CNAS/systemManagement/documentControl/components/FileList.vue @@ -252,8 +252,7 @@ // 涓嬭浇鏂囦欢 handleDown(row) { if (!row.url) return this.$message.warning('鏂囦欢鏈笂浼�') - let url = this.javaApi + '/word/' + row.url - this.$download.saveAs(url, row.url); + this.$download.downloadFileFromUrl(row.url, row.url); }, // 鏌ョ湅鏂囦欢 handleLook(row) { @@ -361,7 +360,6 @@ }) .then(() => { delManageDocumentList({ id: row.id }).then((res) => { - if (res.code == 201) return; this.$message.success("鍒犻櫎鎴愬姛"); this.refresh(); }); -- Gitblit v1.9.3