Skip to content

Commit c1544a2

Browse files
committed
手机号登录
1 parent 020580a commit c1544a2

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎i18n/en.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@
119119
"oauth": "Or login with",
120120
"or": "Or",
121121
"register": "Register",
122-
"title": "Login to Reden"
122+
"title": "Login to Reden",
123+
"username_or_email_or_phone": "Username, Email, or Phone"
123124
},
124125
"message": {
125126
"all": "All",

‎i18n/zh_CN.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@
146146
"oauth": "或使用以下方式登录",
147147
"or": "或者",
148148
"register": "去注册",
149-
"title": "登录 Reden"
149+
"title": "登录 Reden",
150+
"username_or_email_or_phone": "用户名、邮箱或手机号"
150151
},
151152
"message": {
152153
"all": "全部",

‎pages/login.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function login() {
9292
<v-form>
9393
<v-text-field
9494
v-model="username"
95-
:label="t('profile.username')"
95+
:label="t('login.username_or_email_or_phone')"
9696
autocomplete="username"
9797
required
9898
>

0 commit comments

Comments
 (0)