forked from 77media/video-flow
initializing
This commit is contained in:
parent
ae620d35fc
commit
07cd7aba27
@ -214,10 +214,10 @@ export function TaskInfo({
|
|||||||
{taskObject?.title ? (
|
{taskObject?.title ? (
|
||||||
<>
|
<>
|
||||||
<span>
|
<span>
|
||||||
{taskObject?.title || 'loading project info...'}
|
{taskObject?.title || 'initializing project...'}
|
||||||
</span>
|
</span>
|
||||||
</>
|
</>
|
||||||
) : 'loading project info...'}
|
) : 'initializing project...'}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 主题 彩色标签tags */}
|
{/* 主题 彩色标签tags */}
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps =
|
|||||||
// 更新 taskObject 的类型
|
// 更新 taskObject 的类型
|
||||||
const [taskObject, setTaskObject] = useState<TaskObject>(tempTaskObject.current);
|
const [taskObject, setTaskObject] = useState<TaskObject>(tempTaskObject.current);
|
||||||
const [currentSketchIndex, setCurrentSketchIndex] = useState(0);
|
const [currentSketchIndex, setCurrentSketchIndex] = useState(0);
|
||||||
const [currentLoadingText, setCurrentLoadingText] = useState('loading project info...');
|
const [currentLoadingText, setCurrentLoadingText] = useState('initializing project...');
|
||||||
const [dataLoadError, setDataLoadError] = useState<string | null>(null);
|
const [dataLoadError, setDataLoadError] = useState<string | null>(null);
|
||||||
const [needStreamData, setNeedStreamData] = useState(false);
|
const [needStreamData, setNeedStreamData] = useState(false);
|
||||||
const [isPauseWorkFlow, setIsPauseWorkFlow] = useState(false);
|
const [isPauseWorkFlow, setIsPauseWorkFlow] = useState(false);
|
||||||
@ -508,7 +508,7 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps =
|
|||||||
originalText: '',
|
originalText: '',
|
||||||
isLoading: true
|
isLoading: true
|
||||||
});
|
});
|
||||||
setCurrentLoadingText('loading project info...');
|
setCurrentLoadingText('initializing project...');
|
||||||
|
|
||||||
// 获取剧集详情
|
// 获取剧集详情
|
||||||
const response = await detailScriptEpisodeNew({ project_id: episodeId });
|
const response = await detailScriptEpisodeNew({ project_id: episodeId });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user