From 4ce8df7912849a89e78daca63492077ca5077b34 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 13 八月 2025 09:36:30 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/components/do/b1-inspect-order-plan/Inspection.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index 4179148..7786e1f 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -4561,9 +4561,11 @@ let url = ""; if (res.data.type == 1) { url = this.javaApi + "/img/" + res.data.fileUrl; + url = url.replace(/#/g, "%23"); file.downloadIamge(url, row.fileName); } else { url = this.javaApi + "/word/" + res.data.fileUrl; + url = url.replace(/#/g, "%23"); const link = document.createElement("a"); link.href = url; link.download = row.fileName; @@ -4637,6 +4639,7 @@ } else { this.currentFile.url = this.javaApi + "/word/" + row.fileUrl; } + this.currentFile.url = this.currentFile.url.replace(/#/g, "%23"); this.lookFileVisible = true; }, handleBack() { -- Gitblit v1.9.3