Skip to content

Conversation

@yangmingshan
Copy link
Contributor

Description

修复空题目问题。

Linked Issues

#95

Additional context

answer = answers[Math.floor(seed * answers.length)]

原因是这里 Math.floor(seed * answers.length) 计算结果是 0,然后取到了空题目。2024-08-11 这天也出现了这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant