Commit f318a2cf authored by renjie's avatar renjie

修改相册首页扫码进入逻辑

parent 5b54046a
...@@ -277,7 +277,9 @@ export default { ...@@ -277,7 +277,9 @@ export default {
surveyResult = await this.judgeWhether('scenic/albumConfig/getSurveyConfig', { surveyResult = await this.judgeWhether('scenic/albumConfig/getSurveyConfig', {
surveyIds surveyIds
}) })
} }else {// 调查模板为空则直接展示首页
this.show = true
}
// 3.判断用户是否已经投过票 // 3.判断用户是否已经投过票
let voteObj = {} // 用户投票信息 let voteObj = {} // 用户投票信息
...@@ -386,10 +388,10 @@ export default { ...@@ -386,10 +388,10 @@ export default {
if (this.options.tip === 'true') { // 从模板选择页进入 if (this.options.tip === 'true') { // 从模板选择页进入
this.show = true this.show = true
this.postCartTip = true this.postCartTip = true
}else if (this.options.channelId) { // 扫码进入本页
this.handleWhetherToVotePage()
} else if (this.options.index == 1) { // 从vlog首页进入 } else if (this.options.index == 1) { // 从vlog首页进入
this.show = true this.show = true
} else { // 扫码进入本页
this.handleWhetherToVotePage()
} }
if (uni.getStorageSync('location')) return if (uni.getStorageSync('location')) return
......
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