mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 07:41:10 +08:00
【调整】工作流申请节点参数
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user