Compare commits

..

2 Commits

Author SHA1 Message Date
方柳煜
b65fd0c317
Merge 259660f282 into 9cb3a5019f 2026-02-02 11:15:50 +00:00
方柳煜
259660f282
Change condition to check record length 2026-02-02 19:15:46 +08:00

View File

@ -383,7 +383,7 @@ func newHandouGame(target idiomJSON) func(string) (bool, []byte, error) {
tickTruePinyin[i] = string(tickTruePinyinChar)
tickExistPinyin[i] = string(tickExistPinyinChar)
}
if len(record) == 2 {
if len(record) >= 2 {
tickTruePinyin[0] = pinyin[0]
tickExistChars[0] = chars[0]
}