diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index ac672ec..e97bc7e 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -586,6 +586,8 @@ export function useWorkflowData() { } } + console.log('---look-taskData', taskData); + // 设置步骤 setCurrentStep(taskData.status); setTaskObject(prev => { diff --git a/components/ui/shot-tab-content.tsx b/components/ui/shot-tab-content.tsx index 6fad1db..bc8d199 100644 --- a/components/ui/shot-tab-content.tsx +++ b/components/ui/shot-tab-content.tsx @@ -48,6 +48,10 @@ export function ShotTabContent({ const shotsEditorRef = useRef(null); const videoRef = useRef(null); + useEffect(() => { + console.log('shotTabContent-----roles', roles); + }, [roles]); + // 监听当前选中index变化 useEffect(() => { console.log('shotTabContent-----shotData', shotData);