From 8af938e0ebfc21174a02aed2aa639a453ef51372 Mon Sep 17 00:00:00 2001 From: Gdpao <1341331954@qq.com> Date: Wed, 16 Sep 2020 11:31:59 +0800 Subject: [PATCH] gdpao --- pages/zhibo/index.nvue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index 30318fe..32a1ea0 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -462,6 +462,10 @@ export default { }); }, errors(a){ + this.videoContext.stop(); + setTimeout(() => { + this.videoContext.play() + },1000) console.log(a) }, newpeople(list){ @@ -499,8 +503,7 @@ export default { // }, 300) console.log(message) if(message.type == 1){ - this.videoContext.stop(); - this.videoContext.play() + console.log('stop') return ; }