feat: 头像上传

This commit is contained in:
2026-06-02 17:33:57 +08:00
parent 087f8f1096
commit 29400bb23b
13 changed files with 959 additions and 384 deletions

View File

@@ -80,6 +80,11 @@ export default {
role: 'ROLE',
roleTip: 'Select up to 2 labels that suit you.'
},
avatarCrop: {
title: 'Crop Avatar',
confirm: 'Confirm',
processing: 'Processing...',
},
security: {
title: 'Security',
description: 'Manage your login email and password.',
@@ -133,7 +138,12 @@ export default {
passwordSpecial: 'Password must contain special characters',
passwordCase: 'Password must include upper/lowercase letters and numbers',
passwordNotSameAsOld: 'New password cannot be the same as current password',
settingsUpdated: 'Settings updated'
settingsUpdated: 'Settings updated',
avatarTooLarge: 'Image is too large. Max 5MB.',
avatarCropFailed: 'Failed to crop avatar',
avatarUploadUrlMissing: 'Failed to get uploaded file URL',
avatarUpdated: 'Avatar updated',
avatarUploadFailed: 'Upload failed'
},
roles: {
fashionEnthusiast: 'Fashion Enthusiast',