提交 19addf0a 编写于 作者: lyf's avatar lyf

修复loading

上级 1b70e9ff
...@@ -312,22 +312,26 @@ export default { ...@@ -312,22 +312,26 @@ export default {
title: `为了更好的体验,请保证您输出设备的正常使用`, title: `为了更好的体验,请保证您输出设备的正常使用`,
}) })
.then(() => { .then(() => {
this.rtc.join() Promise.all([this.rtc.join()]).then(res=>{
this.ispending(); this.ispending();
let t = setTimeout(() => { let t = setTimeout(() => {
closeLoading(this); closeLoading(this);
this.muteLocalAudio(); this.muteLocalAudio();
clearTimeout(t); clearTimeout(t);
}, 1000); }, 1000);
})
}) })
.catch((err) => { .catch((err) => {
this.rtc.join(); Promise.all([this.rtc.join()]).then(res=>{
this.ispending(); this.ispending();
let t = setTimeout(() => { let t = setTimeout(() => {
closeLoading(this); closeLoading(this);
this.muteLocalAudio(); this.muteLocalAudio();
clearTimeout(t); clearTimeout(t);
}, 1000); }, 1000);
})
}); });
}); });
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册