diff --git a/src/locales/en-US.js b/src/locales/en-US.js index 802cf3cfa81be2f95ac17b1ff2bf35ed4f4a74c8..a907564247479f2ea3cb9b83a95dd84b1436a5f6 100644 --- a/src/locales/en-US.js +++ b/src/locales/en-US.js @@ -181,7 +181,8 @@ export default { 'app.settings.menuMap.security': 'Security Settings', 'app.settings.menuMap.binding': 'Account Binding', 'app.settings.menuMap.notification': 'New Message Notification', - 'app.settings.basic.avatar': 'Change avatar', + 'app.settings.basic.avatar': 'Avatar', + 'app.settings.basic.change-avatar': 'Change avatar', 'app.settings.basic.email': 'Email', 'app.settings.basic.email-message': 'Please input your email!', 'app.settings.basic.nickname': 'Nickname', diff --git a/src/locales/pt-BR.js b/src/locales/pt-BR.js index df223dbc53fc455fe446863ab4c707a4973374ba..1829f9f31422da88f993a11eb965fa4356f77a8c 100644 --- a/src/locales/pt-BR.js +++ b/src/locales/pt-BR.js @@ -129,7 +129,8 @@ export default { 'app.settings.menuMap.security': 'Configurações de Segurança', 'app.settings.menuMap.binding': 'Vinculação de Conta', 'app.settings.menuMap.notification': 'Mensagens de Notificação', - 'app.settings.basic.avatar': 'Alterar avatar', + 'app.settings.basic.avatar': 'Avatar', + 'app.settings.basic.change-avatar': 'Alterar avatar', 'app.settings.basic.email': 'Email', 'app.settings.basic.email-message': 'Por favor insira seu email!', 'app.settings.basic.nickname': 'Nome de usuário', diff --git a/src/locales/zh-CN.js b/src/locales/zh-CN.js index 9e1df4b407c3074c7217bed74ed7b407cc4d9e4a..83c158e6aa2ea1dfdee282b4e3fb3afccf01e072 100644 --- a/src/locales/zh-CN.js +++ b/src/locales/zh-CN.js @@ -179,7 +179,8 @@ export default { 'app.settings.menuMap.security': '安全设置', 'app.settings.menuMap.binding': '账号绑定', 'app.settings.menuMap.notification': '新消息通知', - 'app.settings.basic.avatar': '更换头像', + 'app.settings.basic.avatar': '头像', + 'app.settings.basic.change-avatar': '更换头像', 'app.settings.basic.email': '邮箱', 'app.settings.basic.email-message': '请输入您的邮箱!', 'app.settings.basic.nickname': '昵称', diff --git a/src/locales/zh-TW.js b/src/locales/zh-TW.js index 4059702008743d576a3c4c3946a9a5dbf6ce151c..415902c1c212f3d85ed06c8ec0160bc0ec4ecc81 100644 --- a/src/locales/zh-TW.js +++ b/src/locales/zh-TW.js @@ -179,7 +179,8 @@ export default { 'app.settings.menuMap.security': '安全設置', 'app.settings.menuMap.binding': '賬號綁定', 'app.settings.menuMap.notification': '新消息通知', - 'app.settings.basic.avatar': '更換頭像', + 'app.settings.basic.avatar': '頭像', + 'app.settings.basic.change-avatar': '更換頭像', 'app.settings.basic.email': '郵箱', 'app.settings.basic.email-message': '請輸入您的郵箱!', 'app.settings.basic.nickname': '昵稱', diff --git a/src/pages/Account/Settings/BaseView.js b/src/pages/Account/Settings/BaseView.js index 39e90766da934c54c454a84f64c4d15a88ebd593..388a835856a774b9fab30d5c8e1525579d25385c 100644 --- a/src/pages/Account/Settings/BaseView.js +++ b/src/pages/Account/Settings/BaseView.js @@ -13,14 +13,16 @@ const { Option } = Select; // 头像组件 方便以后独立,增加裁剪之类的功能 const AvatarView = ({ avatar }) => ( -
Avatar
+
+ +
avatar