Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
yh_vendor
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
9 years ago
Commit
0d38a75f5f685b8590a1c85d25977b005fdc5138
1 parent
cf7797e8
登录和修改密码时限制最多输入30个字符, review by zhuxiaojun
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
js/components/Login.js
js/components/ModifyPassword.js
js/components/Login.js
View file @
0d38a75
...
...
@@ -50,6 +50,7 @@ export default class Login extends Component {
selectionColor
=
{
'white'
}
autoCapitalize
=
{
'none'
}
autoCorrect
=
{
false
}
maxLength
=
{
30
}
/
>
<
TouchableOpacity
onPress
=
{
this
.
props
.
onDeleteUserPress
}
>
...
...
@@ -74,6 +75,7 @@ export default class Login extends Component {
selectionColor
=
{
'white'
}
autoCapitalize
=
{
'none'
}
autoCorrect
=
{
false
}
maxLength
=
{
30
}
/
>
<
TouchableOpacity
onPress
=
{
this
.
props
.
onShowPwdPress
}
>
...
...
js/components/ModifyPassword.js
View file @
0d38a75
...
...
@@ -49,7 +49,7 @@ export default class ModifyPassword extends Component {
secureTextEntry
=
{
true
}
underlineColorAndroid
=
'transparent'
onChangeText
=
{
this
.
props
.
onModifyOldPwd
}
maxLength
=
{
30
}
/
>
<
/View
>
<
View
style
=
{
styles
.
line
}
/
>
...
...
@@ -62,7 +62,7 @@ export default class ModifyPassword extends Component {
secureTextEntry
=
{
true
}
underlineColorAndroid
=
'transparent'
onChangeText
=
{
this
.
props
.
onModifyNewPwd
}
maxLength
=
{
30
}
/
>
<
/View
>
<
View
style
=
{
styles
.
line
}
/
>
...
...
@@ -75,7 +75,7 @@ export default class ModifyPassword extends Component {
secureTextEntry
=
{
true
}
underlineColorAndroid
=
'transparent'
onChangeText
=
{
this
.
props
.
onModifyRepeatPwd
}
maxLength
=
{
30
}
/
>
<
/View
>
<
Button
style
=
{
styles
.
button
}
...
...
Please
register
or
login
to post a comment