提交 3f58e1dd 编写于 作者: C CodFrm

修复采集bug&移除log

上级 a0c5d18b
......@@ -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);
}
......
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册