diff --git a/entry/src/main/ets/pages/Judge.ets b/entry/src/main/ets/pages/Judge.ets index b6eeb57e..6c816fc2 100644 --- a/entry/src/main/ets/pages/Judge.ets +++ b/entry/src/main/ets/pages/Judge.ets @@ -613,7 +613,7 @@ struct Index { Column() { Row() { Text(this.carztStr).fontColor('#FFA500').fontSize(this.FONTSIZE) - if (this.judgeConfigObj['342'] == 0) { + if (this.judgeConfigObj['342'] == '0') { Text(`${this.dw}挡`).fontColor('#FFA500').fontSize(this.FONTSIZE).padding({ left: 15, right: 15 }) Text(`${this.sd}km/h`).fontColor('#FFA500').fontSize(this.FONTSIZE) } @@ -803,7 +803,7 @@ struct Index { } Column() { - if (this.examSubject == 3 && this.judgeConfigObj['342'] == 0) { + if (this.examSubject == 3 && this.judgeConfigObj['342'] == '0') { Row() { Row() { } @@ -872,7 +872,7 @@ struct Index { //科目三人工扣分弹窗 - if (this.isDeductedPopShow && this.examSubject == 3 && this.judgeConfigObj['342'] == 0) { + if (this.isDeductedPopShow && this.examSubject == 3 && this.judgeConfigObj['342'] == '0') { DeductedPopup({ defaultTabIndex: this.defaultTabIndex, currentItems: Reflect.ownKeys(this.projectsObj).map(projectKey => { @@ -1032,12 +1032,13 @@ struct Index { } // 靠边停车时候可以触发 - if (judgeConfigObj['343'] == 0) { + if (judgeConfigObj['343'] === '0') { const xmmcStr = this.xmmcStr; if (xmmcStr == '无' || xmmcStr == '') { //512[6] 人工项目按钮放大确认 const param512 = (judgeConfigObj['512'] || '').split(','); - if(param512[6] != 0){ + console.info('surenjun',param512) + if(param512[6] !== '0'){ this.amplifiedImgIndex = index; this.isAmplifyPopShow = true }else{