修复切换音源时可能出现切换死循环的问题

This commit is contained in:
lyswhut
2024-06-17 12:37:26 +08:00
parent 305ce6ff11
commit de5ea4f0aa
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -43,5 +43,6 @@ export const setUserApi = async(apiId: string) => {
if (!window.lx.apiInitPromise[1]) window.lx.apiInitPromise[2](true)
}
if (prevId != apiId) return
if (apiId != appSetting['common.apiSource']) setApiSource(apiId)
}