[Client] Fix bug
This commit is contained in:
parent
d885b872f3
commit
6a97f0b7f6
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ export default (os: MiOS) => new Vuex.Store({
|
|||
|
||||
logout(ctx) {
|
||||
ctx.commit('updateI', null);
|
||||
document.cookie = `i=; domain=${hostname}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
||||
document.cookie = 'i=;';
|
||||
localStorage.removeItem('i');
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue