Commit 4611fa0d by yangchao

update

1 parent 7946703d
Showing with 1 additions and 1 deletions
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
//提交 //提交
submit() { submit() {
this.answer.forEach((v,i)=>{ this.answer.forEach((v,i)=>{
if(v.txt == this.correctAnswer[i].num) { if(v.txt === this.correctAnswer[i].num) {
console.log(v.txt,this.correctAnswer[i].num); console.log(v.txt,this.correctAnswer[i].num);
this.correctNumber = this.correctNumber + 1; this.correctNumber = this.correctNumber + 1;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!