From 45fb4b11ad51bb38306765b11a6747402e382cee Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Sat, 20 Feb 2021 17:37:33 +0800 Subject: [PATCH] fix --- hive-app/pages/login/newPassword.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hive-app/pages/login/newPassword.vue b/hive-app/pages/login/newPassword.vue index 2e3a80a..4afab1c 100644 --- a/hive-app/pages/login/newPassword.vue +++ b/hive-app/pages/login/newPassword.vue @@ -43,11 +43,12 @@ newPwd: this.newPassword, telphone: this.telphone },'POST').then((res)=>{ - console.log(res) if(res.status==200){ - this.$toast.info(res.info); - uni.navigateBack(); + uni.navigateBack({ + delta:2 + }) } + this.$toast.info(res.info); }).catch((err) => { this.$toast.info(res.info); }) @@ -58,6 +59,6 @@ <style> .input-box{ - margin: 40px 20px; + margin: 20px 15px; } </style> -- Gitblit v1.9.1