From b1ed32f811150861c04f5013dafeddab7288ffae Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Sun, 23 Apr 2023 13:38:23 +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=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92-=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=BB=93=E6=9D=9F=E6=97=B6=E9=97=B4=E5=A4=A7=E4=BA=8E?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=97=B6=E9=97=B4=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1025706 --user=王旭 【测试跟踪】测试计划-结束时间小于开始时间可保存-未校验 https://www.tapd.cn/55049933/s/1365528 --- .../frontend/src/business/plan/components/TestPlanEdit.vue | 3 +-- 1 file changed, 1 insertion(+), 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 c24ed9d566..0db1c77ccb 100644 --- a/test-track/frontend/src/business/plan/components/TestPlanEdit.vue +++ b/test-track/frontend/src/business/plan/components/TestPlanEdit.vue @@ -282,8 +282,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();