mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-27 11:16:34 +08:00
deploy
This commit is contained in:
parent
c716a2776c
commit
5ae4f4b80b
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user