|
@@ -612,7 +612,9 @@ export default {
|
|
this.$set(this.Bookanswer.recordList, tmIndex, list);
|
|
this.$set(this.Bookanswer.recordList, tmIndex, list);
|
|
},
|
|
},
|
|
saveBlankTF(value, hengIndex) {
|
|
saveBlankTF(value, hengIndex) {
|
|
|
|
+ let _this = this;
|
|
let answerArr = this.curQue.answerArr;
|
|
let answerArr = this.curQue.answerArr;
|
|
|
|
+ console.log(answerArr);
|
|
if (answerArr.length > 0) {
|
|
if (answerArr.length > 0) {
|
|
if (value.trim() == answerArr[hengIndex]) {
|
|
if (value.trim() == answerArr[hengIndex]) {
|
|
_this.$set(
|
|
_this.$set(
|
|
@@ -628,7 +630,6 @@ export default {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- console.log(_this.Bookanswer.input)
|
|
|
|
},
|
|
},
|
|
getCurTime(curTime) {
|
|
getCurTime(curTime) {
|
|
this.curTime = curTime * 1000;
|
|
this.curTime = curTime * 1000;
|
|
@@ -638,7 +639,9 @@ export default {
|
|
let reg = /_{2,}/g;
|
|
let reg = /_{2,}/g;
|
|
let leg = this.curQue.detail.length;
|
|
let leg = this.curQue.detail.length;
|
|
let curQue = JSON.parse(JSON.stringify(this.curQue));
|
|
let curQue = JSON.parse(JSON.stringify(this.curQue));
|
|
- this.curQue.answerArr = this.curQue.answer.split("\n");
|
|
|
|
|
|
+ this.curQue.answerArr = this.curQue.answer
|
|
|
|
+ ? this.curQue.answer.split("\n")
|
|
|
|
+ : [];
|
|
let hengIndex = 0;
|
|
let hengIndex = 0;
|
|
curQue.detail.forEach((dItem, dIndex) => {
|
|
curQue.detail.forEach((dItem, dIndex) => {
|
|
let isHasPY = 0;
|
|
let isHasPY = 0;
|