yangchenggong1_wd

fix:bug[18529] 修改密码未能作最少8位校验

... ... @@ -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;
... ...