|
@@ -771,8 +771,9 @@
|
|
|
|
|
|
function check(){
|
|
function check(){
|
|
let str = window.location.href
|
|
let str = window.location.href
|
|
- if(str.indexOf('360') > 1) {
|
|
|
|
- $('#tilA').attr('href', 'http://worktime.ttkuaiban.com/#/register?from=360')
|
|
|
|
|
|
+ if(str.indexOf('from') > 1) {
|
|
|
|
+ let strUrl = window.location.href.split('?')[1]
|
|
|
|
+ $('#tilA').attr('href', `http://worktime.ttkuaiban.com/#/register?${strUrl}`)
|
|
} else {
|
|
} else {
|
|
$('#tilA').attr('href', 'http://worktime.ttkuaiban.com/#/register')
|
|
$('#tilA').attr('href', 'http://worktime.ttkuaiban.com/#/register')
|
|
}
|
|
}
|