lex-xin 5 年之前
父节点
当前提交
0d07bebe43
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      src/main.js
  2. 1 1
      src/views/downLoad.vue

+ 3 - 3
src/main.js

@@ -24,9 +24,9 @@ Vue.config.productionTip = false
 
 
 //main.js中
-import Vconsole from 'vconsole'
-const vconsole = new Vconsole()
-Vue.use(vconsole)
+// import Vconsole from 'vconsole'
+// const vconsole = new Vconsole()
+// Vue.use(vconsole)
 // import VueAMap from 'vue-amap'
 // Vue.use(VueAMap)
 // VueAMap.initAMapApiLoader({

+ 1 - 1
src/views/downLoad.vue

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