Commit 03e3358e by 高淑倩

modify: popupType == 0 3s 关闭_刷新数据

parent d4edea00
...@@ -182,7 +182,7 @@ wxService.page({ ...@@ -182,7 +182,7 @@ wxService.page({
wxService.get(`/sale/touchpoints/pointConsumptionExchange/exchange?activityId=${activityId}&memberId=${memberId}`).then(res => { wxService.get(`/sale/touchpoints/pointConsumptionExchange/exchange?activityId=${activityId}&memberId=${memberId}`).then(res => {
if (res) { if (res) {
const { result, data } = res.data const { result, data } = res.data
const { popupType } = this.data const { popupType, id } = this.data
if (result == 0) { if (result == 0) {
wx.hideLoading() wx.hideLoading()
// 显示 dialog // 显示 dialog
...@@ -191,6 +191,7 @@ wxService.page({ ...@@ -191,6 +191,7 @@ wxService.page({
if (popupType == 0){ if (popupType == 0){
setTimeout(()=>{ setTimeout(()=>{
this.isShowDialog(false) this.isShowDialog(false)
this.getPointDetail(id)
},3000) },3000)
} }
} }
......
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