diff --git a/src/store/action.js b/src/store/action.js index 55ebef55..a8b46e48 100644 --- a/src/store/action.js +++ b/src/store/action.js @@ -1,5 +1,4 @@ import * as types from './mutation-type' -import { removeToken } from '@/lin/util/token' export default { setUserAndState({ commit }, user) { @@ -8,7 +7,7 @@ export default { }, loginOut({ commit }) { - removeToken() + localStorage.clear() commit(types.REMOVE_LOGGED_IN, false) },