Skip to content

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
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.

2 participants