소스 검색

调整注册

Lijy 2 년 전
부모
커밋
ebac025e50
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      fhKeeper/formulahousekeeper/inva_4_tivo/index.html

+ 3 - 2
fhKeeper/formulahousekeeper/inva_4_tivo/index.html

@@ -771,8 +771,9 @@
 
         function check(){
             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 {
                 $('#tilA').attr('href', 'http://worktime.ttkuaiban.com/#/register')
             }