|
@@ -35,10 +35,15 @@
|
|
|
}
|
|
|
return flag;
|
|
|
}
|
|
|
+ var urls = window.location.href
|
|
|
+ console.log(urls, '当前的页面地址')
|
|
|
var flag = IsPC(); //true为PC端,false为手机端
|
|
|
- if (flag) {
|
|
|
+ if (flag && urls.indexOf('mobworktime.ttkuaiban') != '-1') {
|
|
|
//跳转到PC登录页面
|
|
|
location.href = 'https://worktime.ttkuaiban.com';
|
|
|
+ } else {
|
|
|
+ location.href = 'http://183.66.166.222:9097/';
|
|
|
+ // location.href = 'https://www.baidu.com/';
|
|
|
}
|
|
|
</script>
|
|
|
</head>
|