对话记录和工作空间链路确认
This commit is contained in:
@@ -1401,21 +1401,12 @@ const buildTreeNodes = (tree: ExecutionTreeItem[]): TreeNode[] =>
|
||||
id: `date-${di}`,
|
||||
label: d.createDate,
|
||||
nodeType: 'date',
|
||||
children: (d.flows || []).map((f, fi) => ({
|
||||
id: `flow-${di}-${fi}`,
|
||||
label: f.flowName || '未命名工作流',
|
||||
nodeType: 'contentType',
|
||||
workflowId: f.Id,
|
||||
sessionId: f.sessionId,
|
||||
children: (f.items || []).map((item, ii) => ({
|
||||
id: `item-${di}-${fi}-${ii}`,
|
||||
label: item.label || `作品${ii + 1}`,
|
||||
nodeType: 'title',
|
||||
fileUrl: item.content,
|
||||
fileType: item.type,
|
||||
workflowId: f.Id,
|
||||
sessionId: f.sessionId,
|
||||
})),
|
||||
children: (d.items || []).map((item, ii) => ({
|
||||
id: `item-${di}-${ii}`,
|
||||
label: item.label || `作品${ii + 1}`,
|
||||
nodeType: 'title',
|
||||
fileUrl: item.content,
|
||||
fileType: item.type,
|
||||
})),
|
||||
}));
|
||||
const getList = async () => {
|
||||
|
||||
Reference in New Issue
Block a user