From c0d244003b06507a2201e6da96bee5f2b8557a58 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 23 May 2023 13:41:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA)?= =?UTF-8?q?=EF=BC=9A=E6=96=B0=E5=BB=BA/=E7=BC=96=E8=BE=91=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=AE=A1=E5=88=92=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=BC=80=E5=A7=8B/=E7=BB=93=E6=9D=9F=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=A0=A1=E9=AA=8C=EF=BC=8C=E8=B4=A3=E4=BB=BB=E4=BA=BA?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=EF=BC=8C=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E4=B8=80=E7=9B=B4loading=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026417 --user=王旭 【测试计划】计划结束时间小于开始时间-规划&执行-可以保存成功 https://www.tapd.cn/55049933/s/1374319 --bug=1026416 --user=王旭 【测试计划】编辑测试计划-责任人-用户名后面的叉号错位 https://www.tapd.cn/55049933/s/1374320 --bug=1026415 --user=王旭 【测试跟踪】测试计划-创建重名的测试计划保存时页面一直转圈无法恢复 https://www.tapd.cn/55049933/s/1374321 --- .../src/business/plan/components/TestPlanEdit.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test-track/frontend/src/business/plan/components/TestPlanEdit.vue b/test-track/frontend/src/business/plan/components/TestPlanEdit.vue index e7be104cf1..6bf28c5aa8 100644 --- a/test-track/frontend/src/business/plan/components/TestPlanEdit.vue +++ b/test-track/frontend/src/business/plan/components/TestPlanEdit.vue @@ -248,8 +248,7 @@ export default { let param = {}; Object.assign(param, this.form); param.name = param.name.trim(); - if (param.name === '') { - this.$warning(this.$t('test_track.plan.input_plan_name')); + if (!this.validate(param)) { return; } param.workspaceId = getCurrentWorkspaceId(); @@ -270,6 +269,8 @@ export default { } this.dialogFormVisible = false; this.$router.push('/track/plan/view/' + response.data.id); + }).catch(() => { + this.loading = false; }); } else { return false; @@ -376,4 +377,8 @@ export default { -ms-flex-align: center; align-items: center; } + .el-select :deep(.el-tag__close.el-icon-close:before) { + display: block; + transform: translateY(9.5px); + }