fix(测试跟踪): 删除当前用例刷列表 & tab 页切换等问题
This commit is contained in:
parent
3037cb1275
commit
cf07ddc580
|
@ -711,7 +711,7 @@ export default {
|
||||||
this.$emit("refreshTestCase",);
|
this.$emit("refreshTestCase",);
|
||||||
this.$store.state.testCaseMap.delete(this.form.id);
|
this.$store.state.testCaseMap.delete(this.form.id);
|
||||||
//this.tableType = 'edit';
|
//this.tableType = 'edit';
|
||||||
this.$emit("refresh", this.form);
|
this.$emit("refresh", response.data);
|
||||||
if (this.form.id) {
|
if (this.form.id) {
|
||||||
this.$emit("caseEdit", param);
|
this.$emit("caseEdit", param);
|
||||||
} else {
|
} else {
|
||||||
|
@ -1014,6 +1014,7 @@ export default {
|
||||||
this.$get('/test/case/delete/' + row.id + '/' + this.form.refId, () => {
|
this.$get('/test/case/delete/' + row.id + '/' + this.form.refId, () => {
|
||||||
this.$success(this.$t('commons.delete_success'));
|
this.$success(this.$t('commons.delete_success'));
|
||||||
this.getVersionHistory();
|
this.getVersionHistory();
|
||||||
|
this.$emit("refresh");
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
that.$refs.versionHistory.loading = false;
|
that.$refs.versionHistory.loading = false;
|
||||||
|
|
Loading…
Reference in New Issue