Skip to content
New issue

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

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

Already on GitHub? # to your account

截取新闻、视频数据源前20个里进行随机、更加真实 #116

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

songjiang951130
Copy link

@songjiang951130 songjiang951130 commented Apr 8, 2024

我在使用的时候,发现会阅读很早的新闻,应该是代码在所有新闻中随机导致的,如果是首次使用,把昨天的新闻加上应该差不多够了

let temp = parseInt(Math.random() * (data.length + 1), 10);

let temp = parseInt(Math.random() * (data.length + 1), 10);

@AmanITal
Copy link

AmanITal commented Apr 8, 2024 via email

@songjiang951130 songjiang951130 changed the title 阅读昨天的新闻 截取新闻、视频数据源前20个里进行随机、更加真实 Apr 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants