fix(测试跟踪): 删除当前用例刷列表 & tab 页切换等问题

This commit is contained in:
zhangdahai112 2022-01-25 19:59:18 +08:00 committed by 刘瑞斌
parent 3037cb1275
commit cf07ddc580
1 changed files with 2 additions and 1 deletions

View File

@ -711,7 +711,7 @@ export default {
this.$emit("refreshTestCase",);
this.$store.state.testCaseMap.delete(this.form.id);
//this.tableType = 'edit';
this.$emit("refresh", this.form);
this.$emit("refresh", response.data);
if (this.form.id) {
this.$emit("caseEdit", param);
} else {
@ -1014,6 +1014,7 @@ export default {
this.$get('/test/case/delete/' + row.id + '/' + this.form.refId, () => {
this.$success(this.$t('commons.delete_success'));
this.getVersionHistory();
this.$emit("refresh");
});
} else {
that.$refs.versionHistory.loading = false;