fix(接口定义): 修复保存case后,跟新人不一致的缺陷
--bug=1021165 --user=王孝刚 【接口测试】github#20861,接口case的更新人显示不正确 https://www.tapd.cn/55049933/s/1318446
This commit is contained in:
parent
72688948ea
commit
04711d65fe
|
@ -605,6 +605,7 @@ export default {
|
|||
if (!hideAlert) {
|
||||
this.$emit('refresh');
|
||||
}
|
||||
this.$emit('refreshCaseList');
|
||||
}, (error) => {
|
||||
this.isSave = false;
|
||||
});
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
<api-case-item
|
||||
:loading="singleLoading && singleRunId ===item.id || batchLoadingIds.indexOf(item.id) > -1"
|
||||
@refresh="refresh"
|
||||
@refreshCaseList="refreshCaseList"
|
||||
@singleRun="singleRun"
|
||||
@stop="stop"
|
||||
@refreshModule="refreshModule"
|
||||
|
@ -410,6 +411,9 @@ export default {
|
|||
refresh() {
|
||||
this.$emit('refresh');
|
||||
},
|
||||
refreshCaseList() {
|
||||
this.getApiTest(true,true);
|
||||
},
|
||||
reLoadCase() {
|
||||
this.$emit('reLoadCase');
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue