From 10239e1e5d4c142d18de7661ff2ed849d75cb74f Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Sat, 9 Dec 2023 12:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0video=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/video/video-format.uvue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/component/video/video-format.uvue b/pages/component/video/video-format.uvue index ea77984f..c907264b 100644 --- a/pages/component/video/video-format.uvue +++ b/pages/component/video/video-format.uvue @@ -79,8 +79,11 @@ }, methods: { onError: function (e : VideoErrorEvent) { - this.isError = true; - console.log(e.target?.getAttribute("id") + ":" + e.detail); + const id = e.target?.getAttribute("id"); + console.log(id + ":" + e.detail); + if (id != "video-错误路径") { + this.isError = true; + } } } } -- GitLab