提交 c1f0649f authored 作者: huaxinzhu's avatar huaxinzhu

登录显示地址优化

上级 d11dfc17
......@@ -20,7 +20,7 @@ export default {
uuid: ""
},
loginRules: {
},
loading: false,
redirect: undefined
......@@ -29,7 +29,6 @@ export default {
watch: {
$route: {
handler: function(route) {
this.redirect = route.query && route.query.redirect;
},
immediate: true
......@@ -49,9 +48,9 @@ export default {
var ssa = window.location.host
setTimeout(function (){
if(ssa =='localhost:1024'){
window.location.href='http://sso.jxhh.com/login?redirect=http://'+ssa+'/login2'
window.location.href='http://sso.jxhh.com/login?redirect=http://'+ssa+'/platformlogin'
}else{
window.location.href='http://sso.jxhh.com/login?redirect=http://'+ssa+'/login2'
window.location.href='http://sso.jxhh.com/login?redirect=http://'+ssa+'/platformlogin'
}
}, 1000)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论