fix: logout jump to 404

This commit is contained in:
DiamondThree
2023-02-07 22:14:49 +08:00
parent d9d60197f2
commit 731deda1e1
6 changed files with 32 additions and 33 deletions
@@ -428,7 +428,7 @@ export class AffineProvider extends BaseProvider {
token.clear();
this._channel?.disconnect();
this._wsMap.forEach(ws => ws.disconnect());
this._workspaces.clear();
this._workspaces.clear(false);
storage.removeItem('token');
}