Commit 95103f82 by 杨明

fixed

1 parent f43648d3
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
this.selectResult = []; this.selectResult = [];
}, },
// 光标事件 // 光标事件
cursorEven(index) { cursorEven(index, status) {
if (this.isSuccess) return; if (this.isSuccess) return;
this.isSelectSeat = index; this.isSelectSeat = index;
console.log(this.selectResult[index]); console.log(this.selectResult[index]);
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
this.answerOption[idx].isSelect = false; this.answerOption[idx].isSelect = false;
} }
}); });
// this.selectResult[index] = null; if (!status) this.selectResult[index] = null;
} }
}, },
// 选择答案 // 选择答案
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
this.selectResult[this.isSelectSeat] = item.val; this.selectResult[this.isSelectSeat] = item.val;
} }
if (this.selectResult.length - 1 == this.isSelectSeat) { if (this.selectResult.length - 1 == this.isSelectSeat) {
this.cursorEven(this.isSelectSeat); this.cursorEven(this.isSelectSeat, true);
} }
// 判断光标位置 // 判断光标位置
if (this.isSelectSeat <= answerLength--) { if (this.isSelectSeat <= answerLength--) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!