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