xuqiaoying 2 vuotta sitten
vanhempi
commit
32d990cb0d

+ 1 - 0
common/request.js

@@ -1,6 +1,7 @@
 // 'http://192.168.1.222:8088','https://file-dev.xyyxt.net/'线下
 // 'https://api.xyyxt.net' 'https://file.xyyxt.net/'线上
 import store from '@/store/index.js'
+import method from '@/common/methodTool.js'
 import api from './api.js'
 var num = 1
 //接口api   

+ 5 - 2
pages2/dailyPractice/index.vue

@@ -101,15 +101,18 @@ export default {
             orderGoodsId: '',
             dayExamDetail: {}, // 每日一练当天信息试卷
             dayRecordList: [], // 每日一练试卷日历打卡记录
-            meassgeModal: false
+            meassgeModal: false,
+            options: {},
         }
     },
-    onLoad(option) {
+onLoad(option) {
         console.log('参数option:', option);
+        this.options = option
         this.goodsId = option.goodsId
         this.orderGoodsId = option.orderGoodsId
     },
     onShow() {
+        console.log('this.options:', this.options);
         if (this.$method.isGoLogin()) { // 从公众号消息进来的没登录需要跳到登录页,登录后返回
             return
         }

+ 1 - 0
pages3/live/detail.vue

@@ -779,6 +779,7 @@ export default {
 
   },
   onShow() {
+    console.log('this.options:', this.options);
     if (this.$method.isGoLogin()) { // 从公众号消息进来的没登录需要跳到登录页,登录后返回
       return;
     }

+ 1 - 0
pages3/polyv/detail.vue

@@ -793,6 +793,7 @@ export default {
     this.$store.getters.dictObj;
   },
   onShow() {
+    console.log('this.option:', this.option);
     if (this.$method.isGoLogin()) { // 从公众号消息进来的没登录需要跳到登录页,登录后返回
       return;
     }

+ 1 - 0
pages4/login/login.vue

@@ -126,6 +126,7 @@ export default {
 		if(option.isBack){
 			this.isBack = option.isBack;
 		} 
+		console.log('登录后的this.isBack:', option.isBack, typeof this.isBack);
 		// else if (option.scanCode) {
 		// 	this.scanCode = option.scanCode
 		// }