feat: 完善用户确认节点选项与输出流转
- 重构确认节点单选多选配置及输出参数契约 - 统一管理端、用户中心、匿名分享和公共接口恢复流程 - 增加保存校验、错误契约及交互测试
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user