修正某个报错
This commit is contained in:
parent
4ab3fee323
commit
81ee1f0316
@ -37,7 +37,7 @@ export function transformRecord(records: any[]) {
|
|||||||
export function checkSubFinish(history: any, qid: string) {
|
export function checkSubFinish(history: any, qid: string) {
|
||||||
let count = 0
|
let count = 0
|
||||||
for (let [key, val] of history.members) {
|
for (let [key, val] of history.members) {
|
||||||
if (val.has(qid)) {
|
if (val.answer?.has(qid)) {
|
||||||
count ++
|
count ++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user