前端如何像java一樣的debug呢?
1.在js頁面加入debugger
next: function(){
debugger
var type=this.quiz[this.progress].subjectType;
if("B"==type){
var that=this;
debugger
var qid=this.quiz[this.progress].subjectId;
console.log(qid);
2。瀏覽器f12 進行調試 f10進行下一步
