fix(接口测试): 修复case保存后,更新人不对的缺陷

--bug=1021165 --user=王孝刚 【接口测试】github#20861,接口case的更新人显示不正确
https://www.tapd.cn/55049933/s/1318446
This commit is contained in:
wxg0103 2022-12-22 15:16:52 +08:00 committed by wxg0103
parent e243328f63
commit 0765d0086b
2 changed files with 5 additions and 0 deletions

View File

@ -736,6 +736,7 @@ export default {
if (!hideAlert) {
this.$emit('refresh');
}
this.$emit('refreshCaseList');
},
(error) => {
this.isSave = false;

View File

@ -23,6 +23,7 @@
<api-case-item
:loading="(singleLoading && singleRunId === item.id) || batchLoadingIds.indexOf(item.id) > -1"
@refresh="refresh"
@refreshCaseList="refreshCaseList"
@singleRun="singleRun"
@stop="stop"
@refreshModule="refreshModule"
@ -436,6 +437,9 @@ export default {
refresh() {
this.$emit('refresh');
},
refreshCaseList() {
this.getApiTest(true, true);
},
reLoadCase() {
this.$emit('reLoadCase');
},