Compare commits

...
1 Commits
Author SHA1 Message Date
xrain 39626de073 修复了退出登录 TOKEN没清空的问题
Publish to npm / publish (push) Failing after 14s
2026-05-04 00:15:23 +08:00
+1 -1
View File
@@ -311,7 +311,7 @@ export class SimApiCore {
async logout(url?: string | null): Promise<any> { async logout(url?: string | null): Promise<any> {
if (url !== null) { if (url !== null) {
return this.query(url ?? this.auth.logout_url).catch(() => true) this.query(url ?? this.auth.logout_url).catch(() => true)
} }
this.removeToken() this.removeToken()
return true return true