소스 검색

修复ios跳转1

JXDS18FUJT 1 년 전
부모
커밋
6aa74968d9
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      downloadApp2.html

+ 4 - 2
downloadApp2.html

@@ -208,12 +208,12 @@
             if (getPhoneSystem() == 'ios') {
                 // window.location.href = 'https://apps.apple.com/us/app/极速驾培/id1214200225'
                 window.location.href = "https://apps.apple.com/cn/app/极速驾培/id1214200225"
-
+                return
 
             }
             if (getPhoneSystem() == 'android' && isWeixin() == false) {
                 window.location.href = jsjp_android
-
+                return
 
             }
             else {
@@ -237,9 +237,11 @@
             if (getPhoneSystem() == 'ios') {
                 // window.location.href = 'https://apps.apple.com/us/app/极速驾培/id1214200225'
                 window.location.href = "https://apps.apple.com/cn/app/教练管家/id1214203182"
+                return
             }
             if (getPhoneSystem() == 'android' && isWeixin() == false) {
                 window.location.href = jlgj_android
+                return
 
 
             }