mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
@@ -3,8 +3,8 @@ import { loginOut } from '@/web/support/user/api';
|
||||
const tokenKey = 'token';
|
||||
export const clearToken = () => {
|
||||
try {
|
||||
loginOut();
|
||||
localStorage.removeItem(tokenKey);
|
||||
return loginOut();
|
||||
} catch (error) {
|
||||
error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user