修复了合并填空题答案会造成空指针异常的问题

This commit is contained in:
johlanse 2022-07-26 18:25:18 +08:00
parent e1d1743455
commit 91d886395c
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ func FillBlank(page playwright.Page, tips []string) error {
temp += tip temp += tip
} }
answer = strings.Split(temp, ",") answer = strings.Split(temp, ",")
log.Infoln("答案已合并处理" + err.Error()) log.Infoln("答案已合并处理")
} }
for i := 0; i < len(inouts); i++ { for i := 0; i < len(inouts); i++ {
err := inouts[i].Fill(answer[i]) err := inouts[i].Fill(answer[i])