forked from 77media/video-flow
兼容接口不稳定
This commit is contained in:
parent
b41ff70ccd
commit
2ac96d78d7
@ -696,6 +696,8 @@ export function useWorkflowData({ onEditPlanGenerated, editingStatus, onExportFa
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('初始化失败:', error);
|
console.error('初始化失败:', error);
|
||||||
setDataLoadError('加载失败,请重试');
|
setDataLoadError('加载失败,请重试');
|
||||||
|
// 设置是否需要获取流式数据
|
||||||
|
setNeedStreamData(true);
|
||||||
setState({
|
setState({
|
||||||
mode: 'automatic' as 'automatic' | 'manual' | 'auto',
|
mode: 'automatic' as 'automatic' | 'manual' | 'auto',
|
||||||
originalText: '',
|
originalText: '',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user