TASK: #120449 修改需求-图形和数字分别输入错误5次,锁定,并在120秒内记录错误次数。
This commit is contained in:
parent
0833a8b7d4
commit
b2cffb9364
|
@ -130,7 +130,6 @@ export class StarLockNumber extends StarBaseElement {
|
|||
this.errors = event.detail.value
|
||||
//当密码失败5次后
|
||||
if (this.errors == 5) {
|
||||
console.log('进入已锁定页面')
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('star-digicipher-passcode-error-fifth', {
|
||||
detail: {
|
||||
|
|
|
@ -134,11 +134,10 @@ export class StarPatternView extends StarBaseElement {
|
|||
this.changeText = '绘制图案错误'
|
||||
//当密码失败三次后
|
||||
this.errors = event.detail.value
|
||||
if (this.errors == 3) {
|
||||
console.log('进入已锁定页面')
|
||||
if (this.errors == 5) {
|
||||
this.initialState()
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('star-pattern-view-passwd-error-third', {
|
||||
new CustomEvent('star-pattern-view-passwd-error-fifth', {
|
||||
detail: {
|
||||
value: true,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue