mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-06 03:58:00 +08:00
deploy
This commit is contained in:
parent
c716a2776c
commit
5ae4f4b80b
@ -68,8 +68,8 @@ const actions = {
|
||||
);
|
||||
}
|
||||
},
|
||||
async getUserInfo({ commit }) {
|
||||
const { data } = await getUserInfo();
|
||||
async getUserInfo({ commit, state }) {
|
||||
const { data } = await getUserInfo(state.accessToken);
|
||||
if (!data) {
|
||||
Vue.prototype.$baseMessage("验证失败,请重新登录...", "error");
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user