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('原密码错误,请重新输入')