Commit 9d1521f8 authored by wuwangwolihui's avatar wuwangwolihui

营地2.0-修改

parent 67760205
......@@ -174,8 +174,7 @@ export function request(config) {
(res) => {
if (res.data.code == 400034 ||
res.data.code == 400035 ||
res.data.code == 400002 ||
res.data.code == 400003) {
res.data.code == 400002) {
router.push({
path: '/' + store.state.indexIdentity,
})
......@@ -214,6 +213,7 @@ export function request(config) {
return res;
},
(error) => {
console.log(error)
Message.closeAll();
if (error.msg == '请登录!') {
router.push({
......
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