修复了合并填空题答案会造成空指针异常的问题
This commit is contained in:
parent
e1d1743455
commit
91d886395c
|
@ -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])
|
||||||
|
|
Loading…
Reference in New Issue