From 714258ca4899856e4e0683b3566f96e61c7e2100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Fri, 3 May 2024 14:54:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E4=B8=BA=20upload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/upload.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index/upload.vue b/src/pages/index/upload.vue index 2805bd7..43549c6 100644 --- a/src/pages/index/upload.vue +++ b/src/pages/index/upload.vue @@ -32,7 +32,7 @@ const chooseImage = () => { console.log(res) const tempFilePath = res.tempFiles[0].tempFilePath uni.uploadFile({ - url: 'https://ukw0y1.laf.run/uploadFile', + url: 'https://ukw0y1.laf.run/upload', filePath: tempFilePath, name: 'file', formData: { @@ -53,7 +53,7 @@ const chooseImage = () => { console.log(res) const tempFilePath = res.tempFilePaths[0] uni.uploadFile({ - url: 'https://ukw0y1.laf.run/uploadFile', + url: 'https://ukw0y1.laf.run/upload', filePath: tempFilePath, name: 'file', formData: {