@@ -245,6 +245,9 @@ public class ImportPaperService {
// 设置大题类
initQuesHeader(paper, paperDetail, paperDetails, ++mainQuesNum, importPaperCheck);
+ // 设置当前索引,防止多余循环
+ i = importPaperCheck.index - 1;
+
} else if (pText.matches("^\\d{1,}\\.[\\s\\S]*")
|| (isNested(importPaperCheck) && !pText.startsWith("["))) {