Skip to content

Commit 39626de

Browse files
committed
修复了退出登录 TOKEN没清空的问题
1 parent 13c836b commit 39626de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/simapi.core.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export class SimApiCore {
311311

312312
async logout(url?: string | null): Promise<any> {
313313
if (url !== null) {
314-
return this.query(url ?? this.auth.logout_url).catch(() => true)
314+
this.query(url ?? this.auth.logout_url).catch(() => true)
315315
}
316316
this.removeToken()
317317
return true

0 commit comments

Comments
 (0)