题库 填空题一个填空项默认放8个下划线

master
xiaochanghai 10 months ago
parent 5be50991c9
commit 92e6e439ba
  1. 4
      Tiobon.Core.Services/Ghre/Ghre_QuestionServices.cs

@ -1035,10 +1035,10 @@ public class Ghre_QuestionServices : BaseServices<Ghre_Question, Ghre_QuestionDt
if (questionContent.Length > index + 4) if (questionContent.Length > index + 4)
{ {
if (questionContent.Substring(index + 2, 2) == "()") if (questionContent.Substring(index + 2, 2) == "()")
questionContent = questionContent.Substring(0, index) + "____、" + questionContent.Substring(index + 2); questionContent = questionContent.Substring(0, index) + "________、" + questionContent.Substring(index + 2);
} }
else else
questionContent = questionContent.Substring(0, index) + "____" + questionContent.Substring(index + 2); questionContent = questionContent.Substring(0, index) + "________" + questionContent.Substring(index + 2);
insertAnswers.Add(new InsertGhre_QuestionAnswerInput() insertAnswers.Add(new InsertGhre_QuestionAnswerInput()
{ {

Loading…
Cancel
Save