Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
rendian
DESKTOP-ZTS2NQJNAf318c5e5649e
diff --git a/src/api/platform.ts b/src/api/platform.tsindex 88417ac8..87b0d2e1 100644--- a/src/api/platform.ts+++ b/src/api/platform.ts@@ -119,7 +119,7 @@ export interface RankingContentsResponse {export const platformApi = {// 获取平台列表getPlatformList() {- return hotHttp.get<Platform[]>('/platform');+ return hotHttp.get<Platform[]>('/hotinfo/platform');},// 获取平台榜单列表diff --git a/src/views/trending/index.tsx b/src/views/trending/index.tsxindex 48116518..660d9469 100644--- a/src/views/trending/index.tsx+++ b/src/views/trending/index.tsx@@ -1114,7 +1114,7 @@ const Trending: React.FC = () => {return (<>- <div className="flex h-full bg-gray-50">+ <div className="flex h-full bg-gray-50" style={{ overflow: 'auto' }}>{/* 左侧平台列表 */}<div className="flex-shrink-0 w-48 p-4 bg-white border-r border-gray-100">{/* 热门内容 */}@@ -1283,7 +1283,7 @@ const Trending: React.FC = () => {</div>{/* 右侧内容区 */}- <div className="flex-1 p-6">+ <div className="flex-1 p-6" style={{ overflow: 'auto' }}>{viralTitleExpanded ? (// 爆款标题内容区域<div>