Ver código fonte

修复ios跳转1

JXDS18FUJT 1 ano atrás
pai
commit
6aa74968d9
1 arquivos alterados com 4 adições e 2 exclusões
  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
 
 
             }