fix(场景自动化): 修复多次执行 结果不能及时响应问题
This commit is contained in:
parent
a0a0bdc262
commit
54944560c3
|
@ -14,7 +14,7 @@
|
||||||
<el-tag size="mini" style="margin-left: 20px" v-if="request.referenced==='Deleted'" type="danger">{{$t('api_test.automation.reference_deleted')}}</el-tag>
|
<el-tag size="mini" style="margin-left: 20px" v-if="request.referenced==='Deleted'" type="danger">{{$t('api_test.automation.reference_deleted')}}</el-tag>
|
||||||
<el-tag size="mini" style="margin-left: 20px" v-if="request.referenced==='Copy'">{{ $t('commons.copy') }}</el-tag>
|
<el-tag size="mini" style="margin-left: 20px" v-if="request.referenced==='Copy'">{{ $t('commons.copy') }}</el-tag>
|
||||||
<el-tag size="mini" style="margin-left: 20px" v-if="request.referenced ==='REF'">{{ $t('api_test.scenario.reference') }}</el-tag>
|
<el-tag size="mini" style="margin-left: 20px" v-if="request.referenced ==='REF'">{{ $t('api_test.scenario.reference') }}</el-tag>
|
||||||
<ms-run :debug="false" :reportId="reportId" :run-data="runData"
|
<ms-run :debug="true" :reportId="reportId" :run-data="runData"
|
||||||
@runRefresh="runRefresh" ref="runTest"/>
|
@runRefresh="runRefresh" ref="runTest"/>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -42,6 +42,12 @@
|
||||||
this.isActive = true;
|
this.isActive = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
result() {
|
||||||
|
this.response = this.result;
|
||||||
|
this.isActive = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getExecResult() {
|
getExecResult() {
|
||||||
// 执行结果信息
|
// 执行结果信息
|
||||||
|
|
Loading…
Reference in New Issue