mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
perf: 优化移动端打开会话等待效果
This commit is contained in:
parent
77940c9430
commit
f5d76fd5ff
@ -351,7 +351,15 @@ export default {
|
|||||||
// App 直接使用新窗口打开会议
|
// App 直接使用新窗口打开会议
|
||||||
if ($A.isEEUiApp) {
|
if ($A.isEEUiApp) {
|
||||||
loader(true);
|
loader(true);
|
||||||
setTimeout(_ => loader(false), 1200)
|
this.loadNum = 0
|
||||||
|
this.loadTimer && clearInterval(this.loadTimer)
|
||||||
|
this.loadTimer = setInterval(() => {
|
||||||
|
if (this.addShow && ++this.loadNum < 10) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
clearInterval(this.loadTimer)
|
||||||
|
loader(false)
|
||||||
|
}, 1000)
|
||||||
$A.eeuiAppSendMessage({
|
$A.eeuiAppSendMessage({
|
||||||
action: 'startMeeting',
|
action: 'startMeeting',
|
||||||
meetingParams: {
|
meetingParams: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user