默认提交
Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -35,12 +35,15 @@ Page({ | ... | @@ -35,12 +35,15 @@ Page({ |
35 | options: options | 35 | options: options |
36 | }) | 36 | }) |
37 | this.queryConfig(); | 37 | this.queryConfig(); |
38 | // console.log("options:",options); | ||
38 | }, | 39 | }, |
39 | 40 | ||
40 | onShow() { | 41 | onShow() { |
41 | this.hideMask(); | 42 | this.hideMask(); |
42 | let options = this.data.options; | 43 | let options = this.data.options; |
43 | 44 | ||
45 | console.log("options:",options); | ||
46 | console.log("q:",q); | ||
44 | let q = decodeURIComponent(options.q); | 47 | let q = decodeURIComponent(options.q); |
45 | 48 | ||
46 | // 获取会员码 | 49 | // 获取会员码 |
... | @@ -74,7 +77,7 @@ Page({ | ... | @@ -74,7 +77,7 @@ Page({ |
74 | if (m || c || sessionId) { | 77 | if (m || c || sessionId) { |
75 | this.initData(); | 78 | this.initData(); |
76 | } | 79 | } |
77 | console.log("onLoad"); | 80 | |
78 | }, | 81 | }, |
79 | 82 | ||
80 | initData() { | 83 | initData() { |
... | @@ -85,6 +88,7 @@ Page({ | ... | @@ -85,6 +88,7 @@ Page({ |
85 | if (memberCode) { | 88 | if (memberCode) { |
86 | app.globalData.tlMemberCode = memberCode; | 89 | app.globalData.tlMemberCode = memberCode; |
87 | } | 90 | } |
91 | console.log("code:",code); | ||
88 | // 如果存在扫码参数,则需要拉用户身份(未授权的情况下 要拉授权) | 92 | // 如果存在扫码参数,则需要拉用户身份(未授权的情况下 要拉授权) |
89 | this.queryMember().then((result) => { | 93 | this.queryMember().then((result) => { |
90 | let { | 94 | let { |
... | @@ -401,6 +405,7 @@ Page({ | ... | @@ -401,6 +405,7 @@ Page({ |
401 | return; | 405 | return; |
402 | } | 406 | } |
403 | app.router.push({ | 407 | app.router.push({ |
408 | openType: "redirect", | ||
404 | path: "scanResult", | 409 | path: "scanResult", |
405 | query: { | 410 | query: { |
406 | code: code | 411 | code: code | ... | ... |
-
Please register or sign in to post a comment