From 41b33e3819066acc01f2d0f7a0d2496074145291 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Tue, 2 Dec 2025 09:28:46 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4356=20=E3=80=90=E6=97=85=E5=B1=85?= =?UTF-8?q?=E5=95=86=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E6=97=85?= =?UTF-8?q?=E5=B1=85=E5=95=86=E6=88=B7=E5=85=A5=E9=A9=BB=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=A4=A7=E5=B0=8F=E8=B6=85=E8=BF=87500M?= =?UTF-8?q?=E7=9A=84=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E9=9C=80=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E2=80=9C=E8=A7=86=E9=A2=91=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E4=B8=8D=E8=B6=85=E8=BF=87500MB=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/index.js b/utils/index.js index 86debbe..093911b 100644 --- a/utils/index.js +++ b/utils/index.js @@ -1214,18 +1214,18 @@ export function uploadVideo(videoPath, callback) { name: "file", success: res => { if (callback) { + uni.hideLoading() callback(JSON.parse(res.data).link) } }, fail: err => { uni.showToast({ - title: "上传视频失败" + err, + title: "视频大小不能超过500MB", icon: "none", duration: 2000 }); }, complete: res => { - uni.hideLoading() } }); }