fix(接口自动化): 修复实时调试状态不显示问题
This commit is contained in:
parent
58d388b03e
commit
9caa3f542e
|
@ -726,7 +726,7 @@ export default {
|
|||
arr[i].requestResult = this.debugResult.get(key);
|
||||
arr[i].result = null;
|
||||
arr[i].debug = this.debug;
|
||||
this.findNode(arr[i].name, arr[i].index, arr[i].requestResult.success);
|
||||
this.findNode(arr[i].name, arr[i].index, arr[i].requestResult[0].success);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
<el-tag size="mini" class="ms-tag" v-if="request.referenced ==='REF'">{{ $t('api_test.scenario.reference') }}</el-tag>
|
||||
</template>
|
||||
<template v-slot:debugStepCode>
|
||||
<span class="ms-step-debug-code" :class="request.requestResult.success?'ms-req-success':'ms-req-error'" v-if="request.debug && request.requestResult && request.requestResult.responseResult">
|
||||
{{ request.requestResult.success ? 'success' : 'error' }}
|
||||
<span class="ms-step-debug-code" :class="request.requestResult[0].success?'ms-req-success':'ms-req-error'" v-if="request.debug && request.requestResult[0] && request.requestResult[0].responseResult">
|
||||
{{ request.requestResult[0].success ? 'success' : 'error' }}
|
||||
</span>
|
||||
</template>
|
||||
<template v-slot:button>
|
||||
|
|
Loading…
Reference in New Issue