fix(接口测试): 修复编辑场景页面生成报告未生成问题

This commit is contained in:
fit2-zhao 2022-01-14 14:01:44 +08:00 committed by 刘瑞斌
parent 30845b23c1
commit 532cf942d5
1 changed files with 4 additions and 1 deletions

View File

@ -270,7 +270,7 @@
<!--执行组件-->
<ms-run :debug="true" v-if="type!=='detail'" :environment="projectEnvMap" :reportId="reportId" :saved="saved"
:run-data="debugData" :environment-type="environmentType" :environment-group-id="envGroupId"
:run-data="debugData" :environment-type="environmentType" :environment-group-id="envGroupId" :executeType="executeType"
@runRefresh="runRefresh" @errorRefresh="errorRefresh" ref="runTest"/>
<!-- 调试结果 -->
<el-drawer v-if="type!=='detail'" :visible.sync="debugVisible" :destroy-on-close="true" direction="ltr"
@ -509,6 +509,7 @@ export default {
showFollow: false,
envGroupId: "",
environmentType: ENV_TYPE.JSON,
executeType: "",
versionData: [],
newData:[],
dialogVisible:false,
@ -690,6 +691,7 @@ export default {
this.reqTotalTime = 0;
this.reqTotal = 0;
this.reqSuccess = 0;
this.executeType = "";
},
clearResult(arr) {
if (arr) {
@ -859,6 +861,7 @@ export default {
handleCommand() {
this.debug = false;
this.saved = true;
this.executeType = "Saved";
/*触发执行操作*/
this.$refs['currentScenario'].validate(async (valid) => {
if (valid) {