fix: Clear local storage when logout

Clear local storage which storage keystone_token and other info

Change-Id: Ife904f05918a3b107c55a4db2244b84a01a2dde0
This commit is contained in:
Jingwei.Zhang 2022-03-25 15:54:51 +08:00
parent 36c5a63196
commit 82df36b307

View File

@ -270,6 +270,8 @@ export class RootStore {
stores.forEach((store) => {
store.clearData();
});
// clear keystone_token in the local storage
localStorage.clear();
}
}