fix (接口自动化): 修复执行停止后状态错误问题

--bug=1007214 --user=赵勇 【github#6772】接口自动化下面,调试过程中,点击停止,页面还是显示调试中,长时间不消失 https://www.tapd.cn/55049933/s/1056544
This commit is contained in:
fit2-zhao 2021-10-19 11:16:35 +08:00 committed by fit2-zhao
parent 08969f31b4
commit 6fd062fc97
2 changed files with 45 additions and 36 deletions

View File

@ -572,7 +572,7 @@ export default {
this.clearNodeStatus(this.$refs.stepTree.root.childNodes);
this.clearDebug();
this.$success(this.$t('report.test_stop_success'));
this.reload();
this.showHide();
} catch (e) {
this.debugLoading = false;
}

View File

@ -1,5 +1,7 @@
<template>
<div class="ms-header">
<el-row>
<el-col :span="10">
<div class="ms-div" v-loading="loading" @click="showAll">
<!-- 调试部分 -->
<el-row class="ms-header-margin">
@ -17,6 +19,9 @@
</el-col>
</el-row>
</div>
</el-col>
<el-col :span="14">
<div class="ms-header-right">
<el-checkbox v-model="cookieShare" @change="setCookieShare">共享cookie</el-checkbox>
<el-checkbox v-model="sampleError" @change="setOnSampleError" style="margin-right: 10px">{{ $t('commons.failure_continues') }}</el-checkbox>
@ -35,6 +40,11 @@
<font-awesome-icon class="ms-alt-ico" :icon="['fa', 'compress-alt']" size="lg" @click="unFullScreen"/>
</div>
</el-col>
</el-row>
</div>
</template>
@ -201,7 +211,6 @@ export default {
.ms-header-right {
float: right;
width: 520px;
margin-top: 4px;
z-index: 1;
}