fix(测试用例): 字符串限制长度不一致

Closes #1574
This commit is contained in:
shiziyuan9527 2021-03-11 18:40:23 +08:00
parent 1b541ab4fc
commit 4c6760df8b
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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() {