【调整】工作流申请节点参数

This commit is contained in:
cai
2025-09-18 10:53:44 +08:00
parent 39e0bc73e7
commit 5be39aeb1b
51 changed files with 50 additions and 52 deletions

View File

@@ -494,11 +494,9 @@ export const useFlowStore = defineStore('flow-store', () => {
console.warn(`Node with id ${nodeId} not found`);
return;
}
const { eabId, ...params } = config;
// 更新原始数据
updateNodeRecursive(flowData.value.childNode, nodeId, (node) => {
node.config = params;
node.config = config;
});
return flowData.value;
};

View File

@@ -634,10 +634,10 @@ export default defineComponent({
});
// 确认事件触发
confirm(async (close) => {
confirm(async (close) => {
try {
await example.value?.validate();
await example.value?.validate();
data.value.eabId = "";
updateNodeConfig(props.node.id, data.value); // 更新节点配置
isRefreshNode.value = props.node.id; // 刷新节点
close();