From de2b0d6ea0db53684f5560dda4e9cf6f91b211ab Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Mon, 11 Mar 2024 18:51:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=AE=BE=E7=BD=AE=E6=96=B0=E5=A2=9E=E9=82=AE?= =?UTF-8?q?=E7=AE=B1=E7=BB=91=E5=AE=9A=E5=92=8C=E5=AF=86=E7=A0=81=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=202024.3.11=20sws?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/password/password.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/password/password.vue b/pages/password/password.vue index f29898e5..553b9fa2 100644 --- a/pages/password/password.vue +++ b/pages/password/password.vue @@ -126,10 +126,12 @@ this.setData({ form_submit_loading: false, }); - app.globalData.showToast(res.data.msg); + app.globalData.showToast(res.data.msg, 'success'); if (res.data.code == 0) { - // 默认返回上一页 - uni.navigateBack(); + setTimeout(() => { + // 默认返回上一页 + uni.navigateBack(); + }, 1500); } }, fail: () => {