Commit 9d1521f8 authored by wuwangwolihui's avatar wuwangwolihui

营地2.0-修改

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