From 51aa3358ec703f6a88b2779ba0a854e51feacf62 Mon Sep 17 00:00:00 2001 From: zhangrenyuan <18990852002@163.com> Date: Wed, 19 Nov 2025 10:35:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8F=8F=E8=BF=B0pushreplace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialogs/changePassword.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dialogs/changePassword.vue b/src/components/dialogs/changePassword.vue index 729fe75..d0577e0 100644 --- a/src/components/dialogs/changePassword.vue +++ b/src/components/dialogs/changePassword.vue @@ -114,7 +114,7 @@ const changePassword = async function () { // 延迟跳转,确保用户看到成功消息 setTimeout(() => { - router.push('/PasswordSuccess'); + router.push('/PasswordSuccess'); // push跳转,留下历史记录,replace跳转,不留下历史记录 }, 1000); }else if (result.code === 0){ ElMessage.error('原密码错误,请重新输入')