Commit a9856668 by 高淑倩

订单列表

parent 39c449b1
...@@ -94,13 +94,16 @@ wxService.page({ ...@@ -94,13 +94,16 @@ wxService.page({
icon: 'none' icon: 'none'
}) })
setTimeout(() => { setTimeout(() => {
this.initOrderList(this.data.pageNo, this.data.pageSize, this.data.status) this.onShow()
}, 200) }, 200)
} else { } else {
wx.showToast({ wx.showToast({
title: `确认收货失败!`, title: `确认收货失败!`,
icon: 'none' icon: 'none'
}) })
setTimeout(() => {
this.onShow()
}, 200)
} }
} }
}) })
...@@ -121,12 +124,20 @@ wxService.page({ ...@@ -121,12 +124,20 @@ wxService.page({
title: `删除成功!`, title: `删除成功!`,
icon: 'none' icon: 'none'
}) })
} else { setTimeout(() => {
wx.showToast({ this.onShow()
title: `删除失败!`, }, 200)
icon: 'none'
})
} }
} else {
wx.showToast({
title: `删除失败!`,
icon: 'none'
})
setTimeout(() => {
this.onShow()
}, 200)
} }
}) })
}, },
......
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