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