Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
c4b1d832
Commit
c4b1d832
authored
Aug 21, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验证码提示顺序修改
parent
1a93f953
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
en.js
src/common/lang/en.js
+3
-3
zh.js
src/common/lang/zh.js
+3
-3
emailLoginCmpt.vue
src/components/login/emailLoginCmpt.vue
+1
-1
mobileLoginCmpt.vue
src/components/login/mobileLoginCmpt.vue
+1
-1
emailRegisterCmpt.vue
src/views/loginregister/pages/emailRegisterCmpt.vue
+1
-1
mobileRegisterCmpt.vue
src/views/loginregister/pages/mobileRegisterCmpt.vue
+1
-1
No files found.
src/common/lang/en.js
View file @
c4b1d832
...
...
@@ -71,9 +71,9 @@ module.exports = {
setLoginPassword
:
"设置登录密码en"
,
placeholderPhoneCode
:
"请输入手机验证码en"
,
placeholderEmailCode
:
"请输入邮箱验证码en"
,
passwordDescriptionOne
:
"1. 密码长度为6-18个字符en"
,
passwordDescriptionTwo
:
"2. 只能包含数字、字母和标点符号en"
,
passwordDescriptionThree
:
"3. 字母、数字、标点符号至少包含两种en"
,
passwordDescriptionOne
:
"1. 密码长度为6-18个字符en
;
"
,
passwordDescriptionTwo
:
"2. 只能包含数字、字母和标点符号en
;
"
,
passwordDescriptionThree
:
"3. 字母、数字、标点符号至少包含两种en
;
"
,
protocolTitle
:
"我已阅读并同意《TechBook》服务协议en"
,
loginTitle
:
"已有账号?,马上登录en"
,
chooseChannel
:
"请选择注册来源en"
,
...
...
src/common/lang/zh.js
View file @
c4b1d832
...
...
@@ -71,9 +71,9 @@ module.exports = {
setLoginPassword
:
"设置登录密码"
,
placeholderPhoneCode
:
"请输入手机验证码"
,
placeholderEmailCode
:
"请输入邮箱验证码"
,
passwordDescriptionOne
:
"1. 密码长度为6-18个字符"
,
passwordDescriptionTwo
:
"2. 只能包含数字、字母和标点符号"
,
passwordDescriptionThree
:
"3. 字母、数字、标点符号至少包含两种"
,
passwordDescriptionOne
:
"1. 密码长度为6-18个字符
;
"
,
passwordDescriptionTwo
:
"2. 只能包含数字、字母和标点符号
;
"
,
passwordDescriptionThree
:
"3. 字母、数字、标点符号至少包含两种
;
"
,
protocolTitle
:
"我已阅读并同意《TechBook》服务协议"
,
loginTitle
:
"已有账号?,马上登录"
,
chooseChannel
:
"请选择注册来源"
,
...
...
src/components/login/emailLoginCmpt.vue
View file @
c4b1d832
...
...
@@ -226,9 +226,9 @@
email
:
this
.
emailYzCodeForm
.
email
,
valiType
:
2
},
that
=
this
;
that
.
$message
.
success
(
that
.
$t
(
"commonTips.successEmailCodeMessage"
));
api
.
getYZEmailCodeAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
that
.
$message
.
success
(
that
.
$t
(
"commonTips.successEmailCodeMessage"
));
that
.
timeoutFunc
();
}
else
{
this
.
$message
.
error
(
res
.
msg
)
...
...
src/components/login/mobileLoginCmpt.vue
View file @
c4b1d832
...
...
@@ -217,9 +217,9 @@
phone
:
this
.
yzCodeForm
.
phone
,
valiType
:
3
},
that
=
this
;
that
.
$message
.
success
(
that
.
$t
(
"commonTips.successPhoneCodeMessage"
));
api
.
getYZPhoneCodeAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
that
.
$message
.
success
(
that
.
$t
(
"commonTips.successPhoneCodeMessage"
));
that
.
timeoutFunc
();
}
else
{
this
.
$message
.
error
(
res
.
msg
)
...
...
src/views/loginregister/pages/emailRegisterCmpt.vue
View file @
c4b1d832
...
...
@@ -215,9 +215,9 @@
email
:
this
.
registerForm
.
email
,
valiType
:
1
},
that
=
this
;
that
.
$message
.
success
(
"验证码已经发至您的邮箱,请查阅后输入验证码登录"
);
api
.
getYZEmailCodeAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
that
.
$message
.
success
(
"验证码已经发至您的邮箱,请查阅后输入验证码登录"
);
that
.
timeoutFunc
();
}
else
{
this
.
$message
.
error
(
res
.
msg
)
...
...
src/views/loginregister/pages/mobileRegisterCmpt.vue
View file @
c4b1d832
...
...
@@ -214,9 +214,9 @@
phone
:
this
.
registerForm
.
phone
,
valiType
:
0
},
that
=
this
;
that
.
$message
.
success
(
"手机验证码已发送您的手机,请查阅后输入验证码登录"
);
api
.
getYZPhoneCodeAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
that
.
$message
.
success
(
"手机验证码已发送您的手机,请查阅后输入验证码登录"
);
that
.
timeoutFunc
();
}
else
{
this
.
$message
.
error
(
res
.
msg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment