feat: 完善用户确认节点选项与输出流转

- 重构确认节点单选多选配置及输出参数契约

- 统一管理端、用户中心、匿名分享和公共接口恢复流程

- 增加保存校验、错误契约及交互测试
This commit is contained in:
2026-09-04 14:55:55 +08:00
parent b99e275371
commit c7cac61ce8
51 changed files with 2465 additions and 1591 deletions

View File

@@ -106,7 +106,12 @@ export class Tinyflow {
if (!flow) {
return null;
}
return flow.toObject();
this.store.flushPendingEdits();
return {
...flow.toObject(),
nodes: this.store.getNodes(),
edges: this.store.getEdges(),
};
}
updateData(data: TinyflowData, options?: { preserveViewport?: boolean }) {