From 07507ccd6c08e8b0678482fed8be8710441301e4 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Tue, 25 Jan 2022 19:59:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=BD=93=E5=89=8D=E7=94=A8=E4=BE=8B=E5=88=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=20&=20tab=20=E9=A1=B5=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/components/track/case/components/TestCaseEdit.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue index 483d9b8259..4a3c426d5d 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue @@ -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;