Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yangchenggong1_wd
2024-06-03 14:55:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a5dafecf5e9abf3d9475e42eef2349b63b1bf81e
a5dafecf
1 parent
43aecf84
fix:bug[18529] 修改密码未能作最少8位校验
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
sight_harmony/features/wdLogin/src/main/ets/pages/login/ModifyPasswordPage.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/ModifyPasswordPage.ets
View file @
a5dafec
...
...
@@ -200,6 +200,7 @@ struct ModifyPasswordPage {
.width('100%')
.height(`${this.calcHeight(80)}lpx`)
.backgroundColor(this.btnStatus ? '#ED2800' : '#99ED2800')
.enabled(this.btnStatus ?true:false)
.borderRadius('4vp')
.onClick(() => {
if(this.btnStatus){
...
...
@@ -227,7 +228,7 @@ struct ModifyPasswordPage {
}
inputTextChange(){
if ((this.password_old.length >=
6 && this.password_old.length <= 20) && (this.password_new.length >= 6 && this.password_new.length <= 20)&& (this.password_new_repeat.length >= 6
&& this.password_new_repeat.length <= 20)) {
if ((this.password_old.length >=
8 && this.password_old.length <= 20) && (this.password_new.length >= 8 && this.password_new.length <= 20)&& (this.password_new_repeat.length >= 8
&& this.password_new_repeat.length <= 20)) {
this.btnStatus = true;
} else {
this.btnStatus = false;
...
...
Please
register
or
login
to post a comment