From 2980131dd37f8538d1a6c24c3fb3f9ab61006f25 Mon Sep 17 00:00:00 2001 From: youngS Date: Mon, 26 Apr 2021 14:56:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Doss=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/utils/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fir_client/src/utils/index.js b/fir_client/src/utils/index.js index 3933bf8..6fa7c4a 100644 --- a/fir_client/src/utils/index.js +++ b/fir_client/src/utils/index.js @@ -493,7 +493,7 @@ function uploadtostorage(fthis, file, certinfo, callabck) { if (certinfo.storage === 1) { // eslint-disable-next-line no-unused-vars,no-unreachable - uploadqiniuoss(file, certinfo, this, res => { + uploadqiniuoss(file, certinfo, fthis, res => { updateimgs(fthis, certinfo, callabck); }, process => { @@ -501,7 +501,7 @@ function uploadtostorage(fthis, file, certinfo, callabck) { }) } else if (certinfo.storage === 2) { // eslint-disable-next-line no-unused-vars - uploadaliyunoss(file, certinfo, this, res => { + uploadaliyunoss(file, certinfo, fthis, res => { updateimgs(fthis, certinfo, callabck); }, process => { fthis.uploadprocess = process; @@ -515,7 +515,7 @@ function uploadtostorage(fthis, file, certinfo, callabck) { certinfo.upload_url = getuploadurl(); } // eslint-disable-next-line no-unused-vars,no-unreachable - uploadlocalstorage(file, certinfo, this, res => { + uploadlocalstorage(file, certinfo, fthis, res => { updateimgs(fthis, certinfo, callabck); }, process => { fthis.uploadprocess = process;