From 12e72812d28c95394a17ec495985d44aff1c77f7 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 06 十一月 2024 15:13:22 +0800 Subject: [PATCH] 文档资源查看优化 --- pages/cart/paymentPage/index.js | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pages/cart/paymentPage/index.js b/pages/cart/paymentPage/index.js index a9e402d..14d62f8 100644 --- a/pages/cart/paymentPage/index.js +++ b/pages/cart/paymentPage/index.js @@ -342,14 +342,16 @@ orderNum: this.data.orderGoods } app.MG.store.confirmOrder(query).then(res => { - Toast({ - context: this, - selector: '#t-toast', - message: '棰嗗彇鎴愬姛', - theme: 'success', - direction: 'column', + wx.showToast({ + title: '棰嗗彇鎴愬姛', + icon: 'success', + complete: res => { + setTimeout(() => { + wx.navigateBack() + }, 1000); + } }); - wx.navigateBack() + }) } }) \ No newline at end of file -- Gitblit v1.9.1