代客下单修改部分页面跳转逻辑
This commit is contained in:
@@ -528,14 +528,16 @@
|
||||
if ($shop.value.registerType == 'munchies') {
|
||||
//先付
|
||||
return go.to('PAGES_ORDER_PAY', {
|
||||
orderId: res.id
|
||||
})
|
||||
orderId: res.id,
|
||||
isNowPay:true
|
||||
},'redirect'
|
||||
)
|
||||
} else {
|
||||
//后付
|
||||
if (option.isCreateOrderToDetail) {
|
||||
go.to('PAGES_ORDER_DETAIL', {
|
||||
id: res.id
|
||||
})
|
||||
},'redirect')
|
||||
} else {
|
||||
uni.navigateBack({
|
||||
delta: 2
|
||||
|
||||
Reference in New Issue
Block a user