[Client] Fix bug

This commit is contained in:
syuilo 2018-12-11 20:59:25 +09:00
parent edc0ae9eef
commit dd4ec2b035

View File

@ -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');
},