Commit 6895f8b4 by 段启岩

消息提醒

parent e2119d07
...@@ -21,7 +21,9 @@ export default function ({ store, redirect, app: { $axios } }) { ...@@ -21,7 +21,9 @@ export default function ({ store, redirect, app: { $axios } }) {
} }
store.commit('userProfile/removeUser'); store.commit('userProfile/removeUser');
store.commit('auth/logout'); store.commit('auth/logout');
redirect('/users/login'); if (process.client) {
redirect('/users/login');
}
} }
console.log(error) console.log(error)
......
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