Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
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
杨凯
YDL-Component-Medical
Commits
8c6d0295
Commit
8c6d0295
authored
Jan 19, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:设置密码做校验,输入密码不做校验
parent
c02f2ae3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
config.gradle
config.gradle
+2
-2
InputPassWordActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
+6
-3
No files found.
config.gradle
View file @
8c6d0295
...
@@ -8,7 +8,7 @@ ext {
...
@@ -8,7 +8,7 @@ ext {
"m-confide"
:
"0.0.48.91"
,
"m-confide"
:
"0.0.48.91"
,
"m-consultant"
:
"0.0.59.40"
,
"m-consultant"
:
"0.0.59.40"
,
"m-fm"
:
"0.0.30.00"
,
"m-fm"
:
"0.0.30.00"
,
"m-user"
:
"0.0.60.6
7
"
,
"m-user"
:
"0.0.60.6
8
"
,
"m-home"
:
"0.0.22.51"
,
"m-home"
:
"0.0.22.51"
,
"m-im"
:
"0.0.18.30"
,
"m-im"
:
"0.0.18.30"
,
"m-dynamic"
:
"0.0.7.13"
,
"m-dynamic"
:
"0.0.7.13"
,
...
@@ -91,7 +91,7 @@ ext {
...
@@ -91,7 +91,7 @@ ext {
"m-confide"
:
"0.0.48.91"
,
"m-confide"
:
"0.0.48.91"
,
"m-consultant"
:
"0.0.51.16"
,
"m-consultant"
:
"0.0.51.16"
,
"m-fm"
:
"0.0.23.5"
,
"m-fm"
:
"0.0.23.5"
,
"m-user"
:
"0.0.60.6
7
"
,
"m-user"
:
"0.0.60.6
8
"
,
"m-home"
:
"0.0.22.51"
,
"m-home"
:
"0.0.22.51"
,
"m-im"
:
"0.0.3.15"
,
"m-im"
:
"0.0.3.15"
,
"m-dynamic"
:
"0.0.1.7"
,
"m-dynamic"
:
"0.0.1.7"
,
...
...
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
View file @
8c6d0295
...
@@ -152,9 +152,12 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
...
@@ -152,9 +152,12 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
private
fun
setClickEvent
()
{
private
fun
setClickEvent
()
{
et_input_password
.
addTextChangedListener
(
object
:
TextWatcher
{
et_input_password
.
addTextChangedListener
(
object
:
TextWatcher
{
override
fun
afterTextChanged
(
s
:
Editable
?)
{
override
fun
afterTextChanged
(
s
:
Editable
?)
{
if
(
checkPassWordNoAnim
()){
//设置新密码的时候做校验,输入密码不做校验
login_password
.
isEnabled
=
true
if
(
codeStatus
==
STATUS_SET_PWD
){
login_password
.
background
=
ContextCompat
.
getDrawable
(
this
@InputPassWordActivity
,
R
.
drawable
.
bg_one_click_login
)
if
(
checkPassWordNoAnim
()){
login_password
.
isEnabled
=
true
login_password
.
background
=
ContextCompat
.
getDrawable
(
this
@InputPassWordActivity
,
R
.
drawable
.
bg_one_click_login
)
}
}
}
}
}
...
...
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