fix(场景步骤): 修复请求断言报错
This commit is contained in:
parent
3faeb985f0
commit
21cf8dcb37
|
@ -217,7 +217,7 @@
|
|||
<postcondition
|
||||
v-else-if="requestVModel.activeTab === RequestComposition.POST_CONDITION"
|
||||
v-model:config="requestVModel.children[0].postProcessorConfig"
|
||||
:response="props.stepResponses?.[requestVModel.stepId].responseResult.body"
|
||||
:response="props.stepResponses?.[requestVModel.stepId]?.responseResult.body"
|
||||
:layout="activeLayout"
|
||||
:disabled="!isEditableApi"
|
||||
:second-box-height="secondBoxHeight"
|
||||
|
@ -227,7 +227,7 @@
|
|||
<assertion
|
||||
v-else-if="requestVModel.activeTab === RequestComposition.ASSERTION"
|
||||
v-model:params="requestVModel.children[0].assertionConfig.assertions"
|
||||
:response="props.stepResponses?.[requestVModel.stepId].responseResult.body"
|
||||
:response="props.stepResponses?.[requestVModel.stepId]?.responseResult.body"
|
||||
is-definition
|
||||
:disabled="!isEditableApi"
|
||||
:assertion-config="requestVModel.children[0].assertionConfig"
|
||||
|
|
|
@ -219,7 +219,7 @@
|
|||
<postcondition
|
||||
v-else-if="requestVModel.activeTab === RequestComposition.POST_CONDITION"
|
||||
v-model:config="requestVModel.children[0].postProcessorConfig"
|
||||
:response="props.stepResponses?.[requestVModel.stepId].responseResult.body"
|
||||
:response="props.stepResponses?.[requestVModel.stepId]?.responseResult.body"
|
||||
:layout="activeLayout"
|
||||
:disabled="!isEditableApi"
|
||||
:second-box-height="secondBoxHeight"
|
||||
|
@ -229,7 +229,7 @@
|
|||
<assertion
|
||||
v-else-if="requestVModel.activeTab === RequestComposition.ASSERTION"
|
||||
v-model:params="requestVModel.children[0].assertionConfig.assertions"
|
||||
:response="props.stepResponses?.[requestVModel.stepId].responseResult.body"
|
||||
:response="props.stepResponses?.[requestVModel.stepId]?.responseResult.body"
|
||||
is-definition
|
||||
:disabled="!isEditableApi"
|
||||
:assertion-config="requestVModel.children[0].assertionConfig"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<MsCard no-content-padding simple>
|
||||
<MsCard has-breadcrumb no-content-padding simple>
|
||||
<div class="p-[24px_24px_8px_24px]">
|
||||
<MsEditableTab
|
||||
v-model:active-tab="activeApiTab"
|
||||
|
|
Loading…
Reference in New Issue