From 43d42f2a0610ccce9e0bc8e242f39d4ab749c565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Fri, 8 Dec 2023 13:09:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoUpload/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/VideoUpload/index.vue b/src/components/VideoUpload/index.vue index d695fe3..c2bb225 100644 --- a/src/components/VideoUpload/index.vue +++ b/src/components/VideoUpload/index.vue @@ -117,6 +117,10 @@ export default { this.isShowUploadVideo = true; this.videoFlag = false; this.videoUploadPercent = 0; + if (res.code == 500) { + this.$modal.msgError(res.msg); + return; + } this.videoForm.showVideoPath = this.baseUrl + res.fileName; this.$emit("getDuration", file.response.duration); //时长 this.$emit("input", res.fileName);