Commit e5c2c33e by 赵雅纹

弹框参数冲突

parent c1aea07c
...@@ -58,8 +58,8 @@ wxService.page({ ...@@ -58,8 +58,8 @@ wxService.page({
// 邀请奖励弹框 // 邀请奖励弹框
if (options && options['scene']) { if (options && options['scene']) {
let idParam = decodeURIComponent(options['scene']).split('&')[0] let idParam = decodeURIComponent(options['scene']).split('&')[0]
let shareId = idParam && idParam.split('=')[1] || 0 let TYPE = idParam && idParam.split('=')[1] || 0
if (shareId == 10){ if (TYPE == '-1'){
this.setData({ this.setData({
shareBenefitModalShow: true shareBenefitModalShow: true
}) })
......
...@@ -116,7 +116,7 @@ wxService.page({ ...@@ -116,7 +116,7 @@ wxService.page({
let data = { let data = {
"autoColor": true, "autoColor": true,
"page": 'pages/userCenter/userCenter', "page": 'pages/userCenter/userCenter',
"scene": 'type=' + app.globalData.contants.SHARE_TYPE.INVITE_FRIENDS, "scene": 'type=-1',
"width": 100 "width": 100
} }
wxService.post(`/marketing/quickMark/getAppQrCodePicture`, data).then(res => { wxService.post(`/marketing/quickMark/getAppQrCodePicture`, data).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment