lex 1 year ago
parent
commit
d1e64f2d8a
2 changed files with 5 additions and 5 deletions
  1. 1 1
      src/views/download/index.tsx
  2. 4 4
      src/views/download/transfer.tsx

+ 1 - 1
src/views/download/index.tsx

@@ -49,7 +49,7 @@ export default defineComponent({
           '/edu-app/open/appVersionInfo/queryLatestByPlatform',
           {
             params: {
-              platform: 'android-student',
+              platform: 'android-kt',
               status: 'history'
             }
           }

+ 4 - 4
src/views/download/transfer.tsx

@@ -23,7 +23,7 @@ export default defineComponent({
         '/edu-app/open/appVersionInfo/queryLatestByPlatform',
         {
           params: {
-            platform: 'android-student',
+            platform: 'android-kt',
             status: 'history'
           }
         }
@@ -35,9 +35,9 @@ export default defineComponent({
     }
     const { pn, url, action, pageTag, ...rest } = this.$route.query;
     const { origin, pathname } = location;
-    let tempPathname = pathname;
-    let beforeIos = 'BandInstrumentTeam://linkUrl=';
-    let beforeAndroid = 'colexiukt://html:8888/SplashActivity?url=';
+    const tempPathname = pathname;
+    const beforeIos = 'BandInstrumentTeam://linkUrl=';
+    const beforeAndroid = 'colexiukt://html:8888/SplashActivity?url=';
 
     let str = origin + tempPathname + '#/';
     // 判断是否有跳转连接, 如果连接和动作没有时, 则不跳转