fix(测试计划): 执行接口用例失败但状态一直刷新的问题#1005236

--bug=1005236 --user=lyh 【测试跟踪-测试计划】接口测试用例提示请重新选择环境,单执行状态依旧是加载状态
https://www.tapd.cn/55049933/s/1025911
This commit is contained in:
shiziyuan9527 2021-07-19 17:54:47 +08:00 committed by 刘瑞斌
parent ff01c0bdba
commit e6045f9a2c
1 changed files with 4 additions and 1 deletions

View File

@ -126,7 +126,7 @@
<!-- 执行组件 -->
<ms-run :debug="false" :type="'API_PLAN'" :reportId="reportId" :run-data="runData"
@runRefresh="runRefresh" ref="runTest" @autoCheckStatus="autoCheckStatus"/>
@runRefresh="runRefresh" @errorRefresh="errorRefresh" ref="runTest" @autoCheckStatus="autoCheckStatus"/>
<!-- 批量编辑 -->
<batch-edit :dialog-title="$t('test_track.case.batch_edit_case')" :type-arr="typeArr" :value-arr="valueArr"
@ -465,6 +465,9 @@ export default {
this.reportId = getUUID().substring(0, 8);
});
},
errorRefresh() {
this.rowLoading = "";
},
handleBatchEdit() {
this.$refs.batchEdit.open(this.$refs.table.selectRows.size);
this.$refs.batchEdit.setSelectRows(this.$refs.table.selectRows);