feat: 优化用户和文件页面的数据处理,使用useMemo提升性能

This commit is contained in:
ryan
2026-03-11 15:50:32 +08:00
parent 4f8970ff5c
commit 747549bab9
4 changed files with 4 additions and 3 deletions
@@ -565,6 +565,7 @@ export function SettingsPage() {
</p>
</div>
{publicStatus.wechat_login && publicStatus.wechat_qrcode ? (
// eslint-disable-next-line @next/next/no-img-element
<img
src={publicStatus.wechat_qrcode}
alt='微信绑定二维码'
+1 -1
View File
@@ -22,4 +22,4 @@ export interface UpdateSelfPayload {
password: string;
}
export interface SettingsProfile extends AuthUser {}
export type SettingsProfile = AuthUser;