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

Commit 3f58e1d

Browse files
committed
修复采集bug&移除log
1 parent a0c5d18 commit 3f58e1d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/cxmooc-tools/common.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ export function postAnswer(topic, platform, collect, compile, error) {
332332
answer.push(tmp);
333333
}
334334
}
335-
console.log(answer);
336335
gm_post(moocServer.url + 'answer?platform=' + platform, JSON.stringify(answer), true, compile).error(error);
337336
}
338337

src/cxmooc-tools/zhihuishu/topic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ module.exports = {
130130
option: String.fromCharCode((65 + i)),
131131
content: tmpContent
132132
};
133-
pushOption.answer.push(tmp);
133+
pushOption.answers.push(tmp);
134134
if ($(options[i]).parent().find('input').attr('checked')) {
135135
pushOption.correct.push(tmp);
136136
}

0 commit comments

Comments
 (0)