Skip to content

Commit be0820c

Browse files
authored
修复两份答案的问题
1 parent f931362 commit be0820c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

user.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 组卷网学科网试卷处理下载打印
3-
// @version 2.1.1
3+
// @version 2.1.2
44
// @namespace
55
// @description 【2024/11/16】✨ 自动处理组卷网学科网试卷,并打印,支持去广告,答案分离。
66
// @author nuym
@@ -301,12 +301,7 @@ function printButtonClickHandler() {
301301
}
302302
}
303303

304-
if (includeAnswers) {
305-
var answerContentDiv = question.querySelector('.exam-item__opt');
306-
if (answerContentDiv) {
307-
newQuestionDiv.appendChild(answerContentDiv.cloneNode(true));
308-
}
309-
}
304+
310305

311306
newPageBody.appendChild(newQuestionDiv);
312307
});

0 commit comments

Comments
 (0)