pull/1211/head
parent
89625188f1
commit
5ee7c5a319
|
@ -10,9 +10,9 @@ import useHandleEnvParams from './useHandleEnvParams'
|
|||
import useEventListener from './useEventListener'
|
||||
import useDeeplink from './useDeeplink'
|
||||
import usePlayer from './usePlayer'
|
||||
import handleListAutoUpdate from './listAutoUpdate'
|
||||
import { useRouter } from '@common/utils/vueRouter'
|
||||
import useSettingSync from './useSettingSync'
|
||||
import { useRouter } from '@common/utils/vueRouter'
|
||||
import handleListAutoUpdate from './listAutoUpdate'
|
||||
|
||||
|
||||
export default () => {
|
||||
|
@ -64,10 +64,10 @@ export default () => {
|
|||
handleEnvParams(envParams) // 处理传入的启动参数
|
||||
void initDeeplink(envParams)
|
||||
void initSyncService()
|
||||
sendInited()
|
||||
|
||||
handleListAutoUpdate()
|
||||
if (window.lx.isProd) checkUpdate()
|
||||
|
||||
sendInited()
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
|
@ -17,8 +17,9 @@ export default () => {
|
|||
const waitUpdateLists = Object.entries(listUpdateInfo)
|
||||
.map(([id, info]) => info.isAutoUpdate && userLists.find(l => l.id == id))
|
||||
.filter(_ => _) as LX.List.UserListInfo[]
|
||||
for (let i = 2; i > 0; i--) {
|
||||
void handleSyncSourceList(waitUpdateLists)
|
||||
}
|
||||
// for (let i = 2; i > 0; i--) {
|
||||
// void handleSyncSourceList(waitUpdateLists)
|
||||
void handleSyncSourceList(waitUpdateLists)
|
||||
// }
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue