style:监管
Showing
1 changed file
with
0 additions
and
11 deletions
... | @@ -69,23 +69,12 @@ function handleErrorData (status) { | ... | @@ -69,23 +69,12 @@ function handleErrorData (status) { |
69 | window.tokenValid = false; | 69 | window.tokenValid = false; |
70 | Message.error("由于长时间未操作,请重新登录!"); | 70 | Message.error("由于长时间未操作,请重新登录!"); |
71 | localStorage.removeItem("token"); | 71 | localStorage.removeItem("token"); |
72 | let code = Vue.prototype.BASE_API.CODE | ||
73 | if (code == 'BDCSBPT') { | ||
74 | router.replace({ | 72 | router.replace({ |
75 | path: "/login", | 73 | path: "/login", |
76 | query: { | 74 | query: { |
77 | redirect: router.history.current.fullPath, | 75 | redirect: router.history.current.fullPath, |
78 | }, | 76 | }, |
79 | }); | 77 | }); |
80 | } else { | ||
81 | router.replace({ | ||
82 | path: "/jg", | ||
83 | query: { | ||
84 | redirect: router.history.current.fullPath, | ||
85 | }, | ||
86 | }); | ||
87 | } | ||
88 | |||
89 | } | 78 | } |
90 | break; | 79 | break; |
91 | case 404: | 80 | case 404: | ... | ... |
-
Please register or sign in to post a comment