|
@@ -50,7 +50,7 @@
|
|
if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
|
|
if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
|
|
window.location.href = `StudentsExam://linkUrl=${url}`;
|
|
window.location.href = `StudentsExam://linkUrl=${url}`;
|
|
} else if (/(Android)/i.test(navigator.userAgent)) {
|
|
} else if (/(Android)/i.test(navigator.userAgent)) {
|
|
- window.location.href = `student_exam://html:8888/SplashActivity?url=${url}`;
|
|
|
|
|
|
+ window.location.replace = `student_exam://html:8888/SplashActivity?url=${url}`;
|
|
} else {
|
|
} else {
|
|
this.$toast("请用手机或移动设备打开");
|
|
this.$toast("请用手机或移动设备打开");
|
|
}
|
|
}
|