ソースを参照

Update transfer.tsx

lex-wxl 2 年 前
コミット
36169b2e89
1 ファイル変更4 行追加2 行削除
  1. 4 2
      src/student/down-load/transfer.tsx

+ 4 - 2
src/student/down-load/transfer.tsx

@@ -27,9 +27,11 @@ export default defineComponent({
     str += params.url
     str = encodeURIComponent(str)
     if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
-      window.location.href = `StudentsColexiu://linkUrl=${str}`
+      // ColexiuStudent 唤起学生端
+      // ColexiuTeacher 唤起老师端
+      window.location.href = `ColexiuStudent://linkUrl=${str}`
     } else if (/(Android)/i.test(navigator.userAgent)) {
-      window.location.href = `StudentsColexiu://html:8888/SplashActivity?url=${str}`
+      window.location.href = `ColexiuStudent://html:8888/SplashActivity?url=${str}`
     } else {
       Toast('请用手机或移动设备打开')
     }