refine
This commit is contained in:
@@ -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', '');
|
||||
|
Reference in New Issue
Block a user