vuex 浏览器刷新就没掉了
xmskying opened this issue · 1 comments
xmskying commented
if (store.state.token) { // 通过vuex state获取当前的token是否存在 next(); }
所以应该要放到sessionStorage或者localStorage里吧?
superman66 commented
是的
xmskying opened this issue · 1 comments
if (store.state.token) { // 通过vuex state获取当前的token是否存在 next(); }
所以应该要放到sessionStorage或者localStorage里吧?
是的