fix(接口场景): 引用 case 后新建自定义请求数据问题修复
This commit is contained in:
parent
8fd06968bb
commit
f48145b1a0
|
@ -968,7 +968,7 @@
|
|||
function handleClose() {
|
||||
if (isReplace.value) {
|
||||
isReplace.value = false;
|
||||
} else {
|
||||
} else if (!requestVModel.value.isNew) {
|
||||
emit('applyStep', cloneDeep(makeRequestParams()) as RequestParam);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1240,6 +1240,7 @@
|
|||
if (_stepType.isQuoteCase && !realStep.isQuoteScenarioStep) {
|
||||
realStep.name = request.stepName || request.name;
|
||||
stepDetails.value[realStep.id] = request; // 为了设置一次正确的polymorphicName
|
||||
activeStep.value = undefined;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue