feat 完善页码搜索, 优化更换密码

This commit is contained in:
Ironsp
2026-06-09 15:23:55 +08:00
parent b3d8da2365
commit b10f4c4172
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ const rules = ref({
const submit = async () => {
const res = await getUserProfile();
console.log('当前用户信息', res);
if (!user.value.username != res.data.userName) {
if (user.value.username != res.data.user?.userName) {
proxy?.$modal.msgError('账号填写错误');
return false;
}