From 70b43c948bd6acd14bac8e0269b274ecf751fba0 Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Tue, 2 Apr 2024 20:56:00 +0800 Subject: [PATCH] submit --- pages/confirm-order/index.vue | 6 +++++- pages/consignment-painting/index.vue | 16 +++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) 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 @@