diff --git a/src/api/types/profile.d.ts b/src/api/types/profile.d.ts index 13b3efc..795e63d 100644 --- a/src/api/types/profile.d.ts +++ b/src/api/types/profile.d.ts @@ -16,6 +16,7 @@ export interface EditForm { label: string value: string code: string + countryCode?: string } // 密码表单类型 @@ -35,6 +36,7 @@ export interface EditLangTypeParams { export interface BindMobileParams { mobile: string code: string + mobile_area?: string } // 绑定邮箱参数类型 @@ -53,6 +55,7 @@ export interface UpdatePwdByCaptchaParams { reg_type: number email?: string mobile?: string + mobile_area?: string code: string login_password1: string login_password2: string diff --git a/src/i18n/locales/en-US/index.ts b/src/i18n/locales/en-US/index.ts index f6ba2ba..9154ab6 100644 --- a/src/i18n/locales/en-US/index.ts +++ b/src/i18n/locales/en-US/index.ts @@ -39,6 +39,7 @@ export default { bound: 'Bound', goToBind: 'Go to bind', bind: 'Bind', + rebind: 'Rebind', modify: 'Modify', bindEmail: 'Bind Email', bindMobile: 'Bind Mobile', diff --git a/src/i18n/locales/zh-CN/index.ts b/src/i18n/locales/zh-CN/index.ts index c930a96..a2bf894 100644 --- a/src/i18n/locales/zh-CN/index.ts +++ b/src/i18n/locales/zh-CN/index.ts @@ -39,6 +39,7 @@ export default { bound: '已绑定', goToBind: '去绑定', bind: '绑定', + rebind: '重新绑定', modify: '修改', bindEmail: '绑定邮箱', bindMobile: '绑定手机号', diff --git a/src/views/profile/personalCenter/index.vue b/src/views/profile/personalCenter/index.vue index 9e36fa2..3ab914b 100644 --- a/src/views/profile/personalCenter/index.vue +++ b/src/views/profile/personalCenter/index.vue @@ -29,8 +29,9 @@
{{ t('personalCenter.email') }} {{ userInfo.email || t('personalCenter.notSet') }} -