|
@@ -1231,14 +1231,17 @@ export default {
|
|
|
this.$set(this.questionList[bindex], "ques", arr);
|
|
|
this.isDoOver();
|
|
|
|
|
|
- let isWrong = this.questionList[bindex].ques.some(
|
|
|
- (quesItem, quesIndex) => {
|
|
|
- return (
|
|
|
- this.questionList[bindex].ques[quesIndex] !=
|
|
|
- this.questionList[bindex].ans[quesIndex]
|
|
|
- );
|
|
|
- }
|
|
|
- );
|
|
|
+ // let isWrong = this.questionList[bindex].ques.some(
|
|
|
+ // (quesItem, quesIndex) => {
|
|
|
+ // return (
|
|
|
+ // this.questionList[bindex].ques[quesIndex] !=
|
|
|
+ // this.questionList[bindex].ans[quesIndex]
|
|
|
+ // );
|
|
|
+ // }
|
|
|
+ // );
|
|
|
+ let isWrong = this.questionList[bindex].ques.some((item, i) => {
|
|
|
+ return this.questionList[bindex].ans.indexOf(item) == -1;
|
|
|
+ })
|
|
|
// 回答错误
|
|
|
if (isWrong) {
|
|
|
this.$api
|