Commit 5ae4f4b8 by 初志鑫

deploy

parent c716a277
...@@ -68,8 +68,8 @@ const actions = { ...@@ -68,8 +68,8 @@ const actions = {
); );
} }
}, },
async getUserInfo({ commit }) { async getUserInfo({ commit, state }) {
const { data } = await getUserInfo(); const { data } = await getUserInfo(state.accessToken);
if (!data) { if (!data) {
Vue.prototype.$baseMessage("验证失败,请重新登录...", "error"); Vue.prototype.$baseMessage("验证失败,请重新登录...", "error");
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment