Skip to content

Commit

Permalink
添加原密码错误提示
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorHuu committed Sep 8, 2023
1 parent 80eee3f commit 0cad866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions program/Backend/TongjiPetWelfare
Submodule TongjiPetWelfare added at 346325
2 changes: 1 addition & 1 deletion src/components/用户界面/mypage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ const editPassword = async () => {
console.error('获取用户帖子评论时出错:', error);
// 显示失败提示
ElMessage.error({
message: '修改失败,错误信息:' + error.message,
message: '修改失败,错误信息:原密码输入错误' ,
duration: 1000 // 持续显示时间(毫秒)
});
}
Expand Down

0 comments on commit 0cad866

Please sign in to comment.