李勇

答题卡和点名模块修复学生端答题后删除了本地数据,导致在答题结束收不到消息的问题

此 diff 太大无法显示。
@@ -32,7 +32,7 @@ import QuestionApe from 'apes/QuestionApe'; @@ -32,7 +32,7 @@ import QuestionApe from 'apes/QuestionApe';
32 import UTF8 from 'utf-8'; 32 import UTF8 from 'utf-8';
33 33
34 let loger = Loger.getLoger('McuClient'); 34 let loger = Loger.getLoger('McuClient');
35 -let _sdkInfo = {"version": "v1.36.7.20170620", "author": "www.3mang.com"}; 35 +let _sdkInfo = {"version": "v1.36.8.20170620", "author": "www.3mang.com"};
36 36
37 //APE 37 //APE
38 let _sass; 38 let _sass;
@@ -187,7 +187,7 @@ class QuestionApe extends Ape { @@ -187,7 +187,7 @@ class QuestionApe extends Ape {
187 //学生->如果自己已经提交过答案就不需要再显示 187 //学生->如果自己已经提交过答案就不需要再显示
188 if(model.totalUserList.indexOf(GlobalConfig.userId)>=0){ 188 if(model.totalUserList.indexOf(GlobalConfig.userId)>=0){
189 loger.log("已经提交过答案-不需要显示答题卡->userId:"+GlobalConfig.userId); 189 loger.log("已经提交过答案-不需要显示答题卡->userId:"+GlobalConfig.userId);
190 - delete this.questionList[itemIdx]; 190 + //delete this.questionList[itemIdx];
191 }else { 191 }else {
192 //显示答题卡数据 192 //显示答题卡数据
193 this._emit(MessageTypes.START_ANSWER_QUESTION,model); 193 this._emit(MessageTypes.START_ANSWER_QUESTION,model);