pull/1211/head
lyswhut 2023-02-02 14:10:05 +08:00
parent 89625188f1
commit 5ee7c5a319
2 changed files with 8 additions and 7 deletions

View File

@ -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()
})
})
}

View File

@ -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--) {
// for (let i = 2; i > 0; i--) {
// void handleSyncSourceList(waitUpdateLists)
void handleSyncSourceList(waitUpdateLists)
}
// }
})
}