Commit 1940be36 by 李伟康

订单增加刷新

1 parent f17ca3b4
......@@ -174,9 +174,13 @@ Page({
if (tabIndex != options?.tabIndex) delete options.tabIndex
this.setData(options)
this.clearData()
} else this.setData({
showLogin: true,
})
}
},
onShow(){
if(this.refresh) this.clearData()
},
onHide(){
this.refresh = true
},
clearData() {
this.setData({
......@@ -301,6 +305,10 @@ Page({
})
},
requestSubscribeMessage() {
wx.p.router.go('/packageMine/pages/order/complete/complete', {
success: true,
})
return
let systemInfo = wx.p.storage.get('system_info')
if (systemInfo && systemInfo.environment != 'wxwork') {
wx.p.router.go('/packageMine/pages/order/complete/complete', {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!