From f744b242a0d88195160e6837fe207e1da27c350e Mon Sep 17 00:00:00 2001 From: hupeng Date: Tue, 27 Oct 2020 16:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E8=BD=A6=E7=9A=84=E7=A9=BA=E6=A0=BC=E4=BF=AE=E5=A4=8D=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/index.js b/utils/index.js index 8acd707..a12325a 100644 --- a/utils/index.js +++ b/utils/index.js @@ -988,7 +988,7 @@ export function chooseImage(callback) { console.log(image); uni.showLoading({ title: "图片上传中", mask: true }); uni.uploadFile({ - url: `${VUE_APP_API_URL} /api/upload`, + url: `${VUE_APP_API_URL}/api/upload`, file: image, filePath: image.path, header: {