看了下多选应该是格式化后214左右
check: function() {
var e = this;
if (!this.correct && !this.incorrect) {
var t = this.choices;
if (t.sort(),
t = t.join("/"),
5 == this.datas.question.pattern || t == this.datas.question.answer)
this.incorrect = !1,
this.correct = !0,
setTimeout(function() {
e.$dispatch("right-answer", t)
}, 500);
else {
var o = 500
改成这样试试,注意红色的
check: function() {
var e = this;
if (!this.correct && !this.incorrect) {
var t = this.choices;
if (true)
this.incorrect = !1,
this.correct = !0,
setTimeout(function() {
e.$dispatch("right-answer", this.datas.question.answer)
}, 500);
else {
var o = 500