From f46e5f964951ad767fd55830a32b2585587d6e7e Mon Sep 17 00:00:00 2001 From: ihzero Date: Sun, 31 Dec 2023 13:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/live-video/index1.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/live-video/index1.vue b/src/components/live-video/index1.vue index 57907f8..70ca10f 100644 --- a/src/components/live-video/index1.vue +++ b/src/components/live-video/index1.vue @@ -47,7 +47,7 @@ export default { }, //根据剩余秒数重新执行init reinit() { - if (!this.expires) return + if (!this.expires || this.expires <= 0) return setTimeout(() => { this.init() }, this.expires * 1000)