This commit is contained in:
Pan
2017-05-16 11:08:17 +08:00
parent 0da4e5e5a7
commit 4bed888e9d
8 changed files with 22 additions and 25 deletions

View File

@@ -79,7 +79,7 @@ const user = {
},
// 获取用户信息
// 获取用户信息
GetInfo({ commit, state }) {
return new Promise((resolve, reject) => {
getInfo(state.token).then(response => {
@@ -125,7 +125,7 @@ const user = {
});
},
// 前端 登出
// 前端 登出
FedLogOut({ commit }) {
return new Promise(resolve => {
commit('SET_TOKEN', '');