Cookieを使わないように
This commit is contained in:
parent
f257853906
commit
4bbb7eded3
5 changed files with 7 additions and 12 deletions
|
|
@ -129,6 +129,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;`;
|
||||
localStorage.removeItem('i');
|
||||
},
|
||||
|
||||
mergeMe(ctx, me) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue