diff --git a/pages/confirm-order/index.vue b/pages/confirm-order/index.vue index 717f6d9..9465e32 100644 --- a/pages/confirm-order/index.vue +++ b/pages/confirm-order/index.vue @@ -645,7 +645,11 @@ export default { this.data = [e.detail.value[0] + 1990, e.detail.value[1] + 1, e.detail.value[2] + 1] }, back() { - uni.navigateBack({delta: 2}) + if (this.type==='detail'){ + uni.redirectTo({url: '/pages/home/index'}) + }else { + uni.navigateBack({delta: 2}) + } } } } diff --git a/pages/consignment-painting/index.vue b/pages/consignment-painting/index.vue index 1880c97..b28df00 100644 --- a/pages/consignment-painting/index.vue +++ b/pages/consignment-painting/index.vue @@ -92,7 +92,7 @@