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