diff --git a/src/components/digicipher/digicipher.ts b/src/components/digicipher/digicipher.ts index 839e2c2..b12b0fb 100644 --- a/src/components/digicipher/digicipher.ts +++ b/src/components/digicipher/digicipher.ts @@ -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: { diff --git a/src/components/pattern-view/pattern-view.ts b/src/components/pattern-view/pattern-view.ts index d106b9d..97db583 100644 --- a/src/components/pattern-view/pattern-view.ts +++ b/src/components/pattern-view/pattern-view.ts @@ -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, },