- 临时注释掉编辑成功后的/profile导航,解决可能的页面跳转异常问题
@@ -225,7 +225,7 @@ const ProfileEditPage: React.FC = () => {
await updateProfileMutation.mutateAsync(profileData);
toast.success('个人信息更新成功');
- navigate('/profile');
+ // navigate('/profile');
} catch (error) {
console.error('更新失败:', error);
toast.error('更新失败,请重试');