|
@@ -523,6 +523,7 @@ export default {
|
|
isHasRemark: false,
|
|
isHasRemark: false,
|
|
paraArr: [],
|
|
paraArr: [],
|
|
answer: [],
|
|
answer: [],
|
|
|
|
+ hengIndex:0,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
@@ -622,6 +623,7 @@ export default {
|
|
handlePYData() {
|
|
handlePYData() {
|
|
let pararArr = [];
|
|
let pararArr = [];
|
|
let curQue = JSON.parse(JSON.stringify(this.curQue));
|
|
let curQue = JSON.parse(JSON.stringify(this.curQue));
|
|
|
|
+ this.hengIndex = 0
|
|
curQue.detail.forEach((dItem, dIndex) => {
|
|
curQue.detail.forEach((dItem, dIndex) => {
|
|
let para = dItem.para;
|
|
let para = dItem.para;
|
|
let paraObj = this.handlePara(para);
|
|
let paraObj = this.handlePara(para);
|
|
@@ -712,6 +714,8 @@ export default {
|
|
if (item == "^") {
|
|
if (item == "^") {
|
|
obj.isHeng = true;
|
|
obj.isHeng = true;
|
|
obj.answer = "";
|
|
obj.answer = "";
|
|
|
|
+ this.hengIndex ++;
|
|
|
|
+ obj.hengIndex = this.hengIndex;
|
|
}
|
|
}
|
|
resArr.push(obj);
|
|
resArr.push(obj);
|
|
});
|
|
});
|
|
@@ -723,7 +727,6 @@ export default {
|
|
created() {},
|
|
created() {},
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
mounted() {
|
|
mounted() {
|
|
- console.log(this.Bookanswer);
|
|
|
|
if (this.curQue) {
|
|
if (this.curQue) {
|
|
if (this.curQue.font == "cn" || !this.curQue.font) {
|
|
if (this.curQue.font == "cn" || !this.curQue.font) {
|
|
this.handleData();
|
|
this.handleData();
|