diff --git a/components/SmartChatBox/MessageRenderer.tsx b/components/SmartChatBox/MessageRenderer.tsx index 510b509..ac2c4d8 100644 --- a/components/SmartChatBox/MessageRenderer.tsx +++ b/components/SmartChatBox/MessageRenderer.tsx @@ -125,7 +125,7 @@ export function MessageRenderer({ msg }: MessageRendererProps) { case "progress": return ; case "link": - return {b.text}; + return {b.text}; default: return null; } diff --git a/components/pages/create-to-video2.tsx b/components/pages/create-to-video2.tsx index 990e1a7..09173f0 100644 --- a/components/pages/create-to-video2.tsx +++ b/components/pages/create-to-video2.tsx @@ -227,41 +227,7 @@ export default function CreateToVideo2() { scrollbarColor: 'rgba(255,255,255,0.1) transparent' }} > - {isLoading && episodeList.length === 0 ? ( - /* 优化的加载状态 */ -
- {[...Array(6)].map((_, index) => ( -
- {/* 背景占位 */} -
- - {/* 渐变遮罩 */} -
- - {/* 状态标签占位 */} -
-
-
-
-
-
- - {/* 项目ID占位 */} -
-
-
- - {/* 底部信息占位 */} -
-
-
-
- ))} -
- ) : episodeList.length > 0 ? ( + {episodeList.length > 0 && ( /* 优化的剧集网格 */
@@ -273,7 +239,7 @@ export default function CreateToVideo2() {
- 正在加载更多项目... + Loading more projects...
)} @@ -285,13 +251,11 @@ export default function CreateToVideo2() {
-

已加载全部项目

+

All projects loaded

)}
- ) : ( - <> )}