Showing
2 changed files
with
3 additions
and
3 deletions
| 1 | //import Cookies from 'js-cookie' | 1 | //import Cookies from 'js-cookie' |
| 2 | 2 | ||
| 3 | -const TokenKey = "preCliearnce-Token"; | 3 | +const TokenKey = "iClearIpc-Token"; |
| 4 | 4 | ||
| 5 | -const Uid = "preCliearnce-Uid"; | 5 | +const Uid = "iClearIpc-Uid"; |
| 6 | 6 | ||
| 7 | export function getToken() { | 7 | export function getToken() { |
| 8 | //return Cookies.get(TokenKey) | 8 | //return Cookies.get(TokenKey) | ... | ... |
| ... | @@ -19,7 +19,7 @@ export default { | ... | @@ -19,7 +19,7 @@ export default { |
| 19 | this.loading = false; | 19 | this.loading = false; |
| 20 | // this.$router.push({ path: '/login',query:{changePasswordType:this.$route.query.changePasswordType,loginname:this.$route.query.loginname} }) | 20 | // this.$router.push({ path: '/login',query:{changePasswordType:this.$route.query.changePasswordType,loginname:this.$route.query.loginname} }) |
| 21 | } else { | 21 | } else { |
| 22 | - this.$router.push({ path: "/404" }); | 22 | + this.$router.push({ path: "/login" }); |
| 23 | this.loading = false; | 23 | this.loading = false; |
| 24 | } | 24 | } |
| 25 | }, | 25 | }, | ... | ... |
-
Please register or login to post a comment