diff --git a/components/DanmakuList.tsx b/components/DanmakuList.tsx index df55433..dfb6a0d 100644 --- a/components/DanmakuList.tsx +++ b/components/DanmakuList.tsx @@ -58,7 +58,9 @@ export default function DanmakuList({ danmakus, currentTime, visible, onToggle } )} ListEmptyComponent={ - 暂无弹幕 + + {danmakus.length === 0 ? '暂无弹幕' : '弹幕将随视频播放显示'} + } /> )} diff --git a/components/NativeVideoPlayer.tsx b/components/NativeVideoPlayer.tsx index ab96f80..de71311 100644 --- a/components/NativeVideoPlayer.tsx +++ b/components/NativeVideoPlayer.tsx @@ -314,7 +314,7 @@ export function NativeVideoPlayer({ }; return ( - + {resolvedUrl ? (