Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
修复采集bug&移除log
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed May 10, 2019
1 parent a0c5d18 commit 3f58e1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/cxmooc-tools/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ export function postAnswer(topic, platform, collect, compile, error) {
answer.push(tmp);
}
}
console.log(answer);
gm_post(moocServer.url + 'answer?platform=' + platform, JSON.stringify(answer), true, compile).error(error);
}

Expand Down
2 changes: 1 addition & 1 deletion src/cxmooc-tools/zhihuishu/topic.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ module.exports = {
option: String.fromCharCode((65 + i)),
content: tmpContent
};
pushOption.answer.push(tmp);
pushOption.answers.push(tmp);
if ($(options[i]).parent().find('input').attr('checked')) {
pushOption.correct.push(tmp);
}
Expand Down

0 comments on commit 3f58e1d

Please sign in to comment.