修正某个报错

This commit is contained in:
zhl 2021-05-06 11:14:57 +08:00
parent 4ab3fee323
commit 81ee1f0316

View File

@ -37,7 +37,7 @@ export function transformRecord(records: any[]) {
export function checkSubFinish(history: any, qid: string) {
let count = 0
for (let [key, val] of history.members) {
if (val.has(qid)) {
if (val.answer?.has(qid)) {
count ++
}
}