Commit 73a9da20 by chenwq

海报,刷新

1 parent 0b185588
......@@ -427,18 +427,18 @@ Page({
},
/**长按海报 */
async longtouch(e) {
console.log('长按海报', e)
// console.log('长按海报', e)
let { activityId } = e.detail
const res = await outputApi.reportPosterTrack({
activityId
})
wx.$eventbus.emit('clienRefresh')
wx.$eventbus.emit('clientRefresh')
this.getSceneProStatus(this.data.sceneCodeList[this.data.sceneActive - 1])
},
// 母链分享
posterTrack() {
wx.$eventbus.emit('clienRefresh')
wx.$eventbus.emit('clientRefresh')
this.getSceneProStatus(this.data.sceneCodeList[this.data.sceneActive - 1])
},
......
......@@ -30,7 +30,7 @@ Component({
},
lifetimes: {
attached() {
wx.$eventbus.on('clienRefresh', res => {
wx.$eventbus.on('clientRefresh', res => {
this.clientRefresh()
})
this.getPMerchantInfo()
......@@ -50,7 +50,6 @@ Component({
})
},
onBindRefresh() {
this.clientRefresh(true)
},
clientRefresh(isPull = false) {
......@@ -138,7 +137,7 @@ Component({
/**长按海报 */
async longtouch(e) {
console.log('长按海报', e)
this.onBindRefresh()
this.clientRefresh()
let { activityId } = e.detail
const res = await outputApi.reportPosterTrack({
activityId
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!