更新跳转

This commit is contained in:
魏啾
2024-05-30 11:22:06 +08:00
parent 59e21b5ed0
commit d3dc53783e

View File

@@ -408,13 +408,17 @@
uni.cache.set('shopUser', '') //删除shopUser uni.cache.set('shopUser', '') //删除shopUser
this.paymodfiyOrderInfo() this.paymodfiyOrderInfo()
setTimeout(res => { setTimeout(res => {
// uni.redirectTo({
// url: '/pages/order/successful?orderId=' + this
// .listinfoid + '&orderInfo=' + JSON.stringify(
// this.orderInfo) + '&radiovalue1=' + this
// .radiovalue1
// });
uni.redirectTo({ uni.redirectTo({
url: '/pages/order/successful?orderId=' + this url: '/pages/order/order_detail?orderId=' + this
.listinfoid + '&orderInfo=' + JSON.stringify( .listinfo.id
this.orderInfo) + '&radiovalue1=' + this
.radiovalue1
}); });
}, 1000) }, 500)
// uni.redirectTo({ // uni.redirectTo({
// url: "/pages/mall/order/ordersuccess?id=" + datareslane.data // url: "/pages/mall/order/ordersuccess?id=" + datareslane.data
// .order_id, // .order_id,
@@ -451,13 +455,17 @@
title: '支付成功', title: '支付成功',
success: () => { success: () => {
setTimeout(res => { setTimeout(res => {
// uni.redirectTo({
// url: '/pages/order/successful?orderId=' + this
// .listinfoid + '&orderInfo=' + JSON.stringify(
// this.orderInfo) + '&radiovalue1=' + this
// .radiovalue1
// });
uni.redirectTo({ uni.redirectTo({
url: '/pages/order/successful?orderId=' + this url: '/pages/order/order_detail?orderId=' + this
.listinfoid + '&orderInfo=' + JSON.stringify( .listinfo.id
this.orderInfo) + '&radiovalue1=' + this
.radiovalue1
}); });
}, 1000) }, 500)
} }