修复了退出登录 TOKEN没清空的问题
Publish to npm / publish (push) Failing after 14s

This commit is contained in:
2026-05-04 00:15:23 +08:00
parent 13c836b4ab
commit 39626de073
+1 -1
View File
@@ -311,7 +311,7 @@ export class SimApiCore {
async logout(url?: string | null): Promise<any> {
if (url !== null) {
return this.query(url ?? this.auth.logout_url).catch(() => true)
this.query(url ?? this.auth.logout_url).catch(() => true)
}
this.removeToken()
return true