forked from 77media/video-flow
修复问题
This commit is contained in:
parent
3e4e947159
commit
7454eb8b3d
@ -403,7 +403,7 @@ export const MediaViewer = React.memo(function MediaViewer({
|
|||||||
|
|
||||||
// 渲染视频内容
|
// 渲染视频内容
|
||||||
const renderVideoContent = (onGotoCut: () => void) => {
|
const renderVideoContent = (onGotoCut: () => void) => {
|
||||||
const urls = taskObject.videos.data[currentSketchIndex].urls ? taskObject.videos.data[currentSketchIndex].urls.join(',') : '';
|
const urls = taskObject.videos.data[currentSketchIndex]?.urls ? taskObject.videos.data[currentSketchIndex]?.urls.join(',') : '';
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="relative w-full h-full rounded-lg group"
|
className="relative w-full h-full rounded-lg group"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user