computed: {
questionLeft: function () {
var list = this.question;
var arrTemp = [];
for (var i = 0; i < list.length; i++) {
if (i % 2 == 0) {
arrTemp.push(list[i]);
}
}
console.log(arrTemp)
return arrTemp;
},
questionRight: function () {
var list = this.question;
var arrTemp = [];
for (var i = 0; i < list.length; i++) {
if (i % 2 != 0) {
arrTemp.push(list[i]);
}
}
console.log(arrTemp)
return arrTemp;
}
},