Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: empty answer #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: empty answer #96

wants to merge 1 commit into from

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