Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
修复热门内容加载时间类型bug
zhangwei7f836fbfdb7f
diff --git a/src/views/trending/index.tsx b/src/views/trending/index.tsxindex 8a6eec0f..6bb7bba6 100644--- a/src/views/trending/index.tsx+++ b/src/views/trending/index.tsx@@ -724,7 +724,7 @@ const Trending: React.FC = () => {// 如果是展开热门专题,并且有消息类型,则加载数据if (newTopicExpanded && msgTypeList.length > 0) {console.log('准备加载热门专题数据');-+ fetchTopicTimeTypes(msgTypeList[0]);// 如果没有选择消息类型,则自动选择第一个if (!selectedMsgType && msgTypeList.length > 0) {setSelectedMsgType(msgTypeList[0]);