diff --git a/entry/src/main/ets/pages/UserInfo.ets b/entry/src/main/ets/pages/UserInfo.ets index 821fb1dd..6a675a73 100644 --- a/entry/src/main/ets/pages/UserInfo.ets +++ b/entry/src/main/ets/pages/UserInfo.ets @@ -1278,7 +1278,7 @@ struct UserInfo { if (this.systemParam.Param612Str == '1') { return } - if(Number(this.systemParam.Param835)<=Number(this.currentUser.yycs)){ + if(this.systemParam.Param835&&this.currentUser.yycs&&Number(this.systemParam.Param835)<=Number(this.currentUser.yycs)){ this.type='4' this.title='当前考生预约考试次数为'+this.currentUser.yycs this.errorDialog.open()