Browse Source

修改视频弹窗未正常关闭时的错误

develop
lau572 3 months ago
parent
commit
57f80c9598
  1. 5
      ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/videoStream.js

5
ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/videoStream.js

@ -112,7 +112,10 @@ export class HttpLivePlayer {
this.initLiveVideo();
}).catch(error => {
console.error('获取URL失败:', error);
Message.error('无法获取视频流URL');
this.destroy();
this.clearMediaElementErrors(); // 清除媒体元素的错误状态
// Message.error('无法获取视频流URL');
});
}

Loading…
Cancel
Save