From b1cf999581faa1df7c8c14b6e2c0995ef8e2a508 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 1 Mar 2022 15:43:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E8=A7=84=E5=88=92=E6=89=A7=E8=A1=8C=E6=97=B6=E7=9A=84=E4=BD=93?= =?UTF-8?q?=E9=AA=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --story=1006068 --user=刘瑞斌 测试计划页面,已存在的测试计划,点击规划执行,不展示“保存成功”提示 https://www.tapd.cn/55049933/s/1111630 --- .../components/track/plan/components/TestPlanEdit.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue index 9ca9f95b1b..90fae51cd0 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue @@ -237,7 +237,9 @@ export default { } param.tags = this.form.tags; this.result = this.$post('/test/plan/' + this.operationType, param, response => { - this.$success(this.$t('commons.save_success')); + if (this.operationType === 'add') { + this.$success(this.$t('commons.save_success')); + } this.dialogFormVisible = false; this.$router.push('/track/plan/view/' + response.data.id); });