From 4c6760df8b105a90d155eeba5ef99eb5de4fe001 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 11 Mar 2021 18:40:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B):=20?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=E9=99=90=E5=88=B6=E9=95=BF=E5=BA=A6?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #1574 --- .../java/io/metersphere/excel/domain/TestCaseExcelDataCn.java | 2 +- .../components/track/case/components/TestCaseEdit.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/io/metersphere/excel/domain/TestCaseExcelDataCn.java b/backend/src/main/java/io/metersphere/excel/domain/TestCaseExcelDataCn.java index 2d98f10baf..5bca529228 100644 --- a/backend/src/main/java/io/metersphere/excel/domain/TestCaseExcelDataCn.java +++ b/backend/src/main/java/io/metersphere/excel/domain/TestCaseExcelDataCn.java @@ -50,7 +50,7 @@ public class TestCaseExcelDataCn extends TestCaseExcelData { @ColumnWidth(50) @ExcelProperty("前置条件") - @Length(min = 0, max = 1000) + @Length(min = 0, max = 500) private String prerequisite; @ColumnWidth(50) diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue index 38632c0c59..b7278ab371 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue @@ -373,7 +373,7 @@ export default { testId: [{required: true, message: this.$t('commons.please_select'), trigger: 'change'}], method: [{required: true, message: this.$t('test_track.case.input_method'), trigger: 'change'}], prerequisite: [{max: 500, message: this.$t('test_track.length_less_than') + '500', trigger: 'blur'}], - remark: [{max: 500, message: this.$t('test_track.length_less_than') + '500', trigger: 'blur'}] + remark: [{max: 1000, message: this.$t('test_track.length_less_than') + '1000', trigger: 'blur'}] }, formLabelWidth: "120px", operationType: '', @@ -767,7 +767,7 @@ export default { this.getModuleOptions(); this.getMaintainerOptions(); this.getTestOptions(); - this.getDemandOptions() + // this.getDemandOptions() }, resetForm() {