fix(接口场景): 插件协议自定义请求步骤复制详情问题修复

This commit is contained in:
baiqi 2024-07-10 13:55:49 +08:00 committed by 刘瑞斌
parent 46d7e83881
commit a2669bcc6e
1 changed files with 1 additions and 1 deletions

View File

@ -954,7 +954,7 @@
})[0]
),
name: `copy_${node.name}`.substring(0, 255),
copyFromStepId: stepDetail ? node.id : node.copyFromStepId,
copyFromStepId: stepDetail || node.isNew !== true ? node.id : node.copyFromStepId,
sort: node.sort + 1,
isNew: true,
id,