|
@@ -71,8 +71,11 @@
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
removeToken();
|
|
|
- localStorage.removeItem('schoolToken');
|
|
|
- this.$router.push({path:'/'});
|
|
|
+ if(localStorage.getItem('entranceJumpType') == 'SCHOOL'){
|
|
|
+ window.location.href = process.env.VUE_APP_OUT_URL;
|
|
|
+ }else if(localStorage.getItem('entranceJumpType') == 'PC'){
|
|
|
+ window.location.href = process.env.VUE_APP_OUT_URL_PC;
|
|
|
+ }
|
|
|
}).catch(() => {});
|
|
|
},
|
|
|
//切换页面
|