From 7969db76fe27cb10cc66dd4451d8c1bc3a318580 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Mon, 1 Apr 2024 15:18:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E5=BA=8A=E6=95=B0=E6=8D=AE=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0pdf=E6=97=B6=E6=96=87=E4=BB=B6=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=B6=E9=97=B4=E6=88=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-panel/visit/crc-upload/components/previousFiles.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/previousFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/previousFiles.vue index 340d6874..1a865863 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/components/previousFiles.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/components/previousFiles.vue @@ -99,7 +99,7 @@ export default { for (var i = 0; i < this.selectArr.length; ++i) { const file = await this.fileToBlob(this.selectArr[i]) var timestamp = Date.now() - const res = await this.OSSclient.put(`/${this.trialId}/ClinicalData/${timestamp}${this.selectArr[i].name}`, file) + const res = await this.OSSclient.put(`/${this.trialId}/ClinicalData/${timestamp}_${this.selectArr[i].name}`, file) this.addFileList.push({ fileName: this.selectArr[i].name, path: this.$getObjectName(res.url), url: this.$getObjectName(res.url) }) } this.saveClinicalData()