소스 검색

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP20_WEB_GLOBAL

li.shaoyi 2 년 전
부모
커밋
38536fc2cb
3개의 변경된 파일51개의 추가작업 그리고 51개의 파일을 삭제
  1. 17 17
      src/packages/mobile/views/home/Index.vue
  2. 17 17
      src/packages/qxst/views/home/Index.vue
  3. 17 17
      src/packages/sbyj/views/home/index.vue

+ 17 - 17
src/packages/mobile/views/home/Index.vue

@@ -144,23 +144,23 @@ onMounted(() => {
   }
 
   if (os === 'iOS') {
-    plus.httpRequest({
-      url: 'https://itunes.apple.com/lookup?id=1661067556'
-    }).then((res) => {
-      const results = res.data.results
-      if (results?.length) {
-        const { version, trackViewUrl } = results[0]
-        if (versionToNumber(version) > versionToNumber(currentVersion)) {
-          dialog({
-            message: '发现新版本,是否更新?',
-            showCancelButton: true,
-            confirmButtonText: '更新'
-          }).then(() => {
-            plus.openURL(trackViewUrl)
-          })
-        }
-      }
-    })
+    // plus.httpRequest({
+    //   url: 'https://itunes.apple.com/lookup?id=1661067556'
+    // }).then((res) => {
+    //   const results = res.data.results
+    //   if (results?.length) {
+    //     const { version, trackViewUrl } = results[0]
+    //     if (versionToNumber(version) > versionToNumber(currentVersion)) {
+    //       dialog({
+    //         message: '发现新版本,是否更新?',
+    //         showCancelButton: true,
+    //         confirmButtonText: '更新'
+    //       }).then(() => {
+    //         plus.openURL(trackViewUrl)
+    //       })
+    //     }
+    //   }
+    // })
   }
 })
 

+ 17 - 17
src/packages/qxst/views/home/Index.vue

@@ -132,23 +132,23 @@ onMounted(() => {
   }
 
   if (os === 'iOS') {
-    plus.httpRequest({
-      url: 'https://itunes.apple.com/lookup?id=1661067556'
-    }).then((res) => {
-      const results = res.data.results
-      if (results?.length) {
-        const { version, trackViewUrl } = results[0]
-        if (versionToNumber(version) > versionToNumber(currentVersion)) {
-          dialog({
-            message: '发现新版本,是否更新?',
-            showCancelButton: true,
-            confirmButtonText: '更新'
-          }).then(() => {
-            plus.openURL(trackViewUrl)
-          })
-        }
-      }
-    })
+    // plus.httpRequest({
+    //   url: ''
+    // }).then((res) => {
+    //   const results = res.data.results
+    //   if (results?.length) {
+    //     const { version, trackViewUrl } = results[0]
+    //     if (versionToNumber(version) > versionToNumber(currentVersion)) {
+    //       dialog({
+    //         message: '发现新版本,是否更新?',
+    //         showCancelButton: true,
+    //         confirmButtonText: '更新'
+    //       }).then(() => {
+    //         plus.openURL(trackViewUrl)
+    //       })
+    //     }
+    //   }
+    // })
   }
 })
 

+ 17 - 17
src/packages/sbyj/views/home/index.vue

@@ -138,23 +138,23 @@ onMounted(() => {
   }
 
   if (os === 'iOS') {
-    plus.httpRequest({
-      url: 'https://itunes.apple.com/lookup?id=1661067556'
-    }).then((res) => {
-      const results = res.data.results
-      if (results?.length) {
-        const { version, trackViewUrl } = results[0]
-        if (versionToNumber(version) > versionToNumber(currentVersion)) {
-          dialog({
-            message: '发现新版本,是否更新?',
-            showCancelButton: true,
-            confirmButtonText: '更新'
-          }).then(() => {
-            plus.openURL(trackViewUrl)
-          })
-        }
-      }
-    })
+    // plus.httpRequest({
+    //   url: ''
+    // }).then((res) => {
+    //   const results = res.data.results
+    //   if (results?.length) {
+    //     const { version, trackViewUrl } = results[0]
+    //     if (versionToNumber(version) > versionToNumber(currentVersion)) {
+    //       dialog({
+    //         message: '发现新版本,是否更新?',
+    //         showCancelButton: true,
+    //         confirmButtonText: '更新'
+    //       }).then(() => {
+    //         plus.openURL(trackViewUrl)
+    //       })
+    //     }
+    //   }
+    // })
   }
 })