Commit 1940be36 by 李伟康

订单增加刷新

1 parent f17ca3b4
...@@ -174,9 +174,13 @@ Page({ ...@@ -174,9 +174,13 @@ Page({
if (tabIndex != options?.tabIndex) delete options.tabIndex if (tabIndex != options?.tabIndex) delete options.tabIndex
this.setData(options) this.setData(options)
this.clearData() this.clearData()
} else this.setData({ }
showLogin: true, },
}) onShow(){
if(this.refresh) this.clearData()
},
onHide(){
this.refresh = true
}, },
clearData() { clearData() {
this.setData({ this.setData({
...@@ -301,6 +305,10 @@ Page({ ...@@ -301,6 +305,10 @@ Page({
}) })
}, },
requestSubscribeMessage() { requestSubscribeMessage() {
wx.p.router.go('/packageMine/pages/order/complete/complete', {
success: true,
})
return
let systemInfo = wx.p.storage.get('system_info') let systemInfo = wx.p.storage.get('system_info')
if (systemInfo && systemInfo.environment != 'wxwork') { if (systemInfo && systemInfo.environment != 'wxwork') {
wx.p.router.go('/packageMine/pages/order/complete/complete', { 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!