refactor: 测试用例名称长度增大
This commit is contained in:
parent
53943f4176
commit
d4fd50b274
|
@ -1,4 +1,5 @@
|
||||||
alter table test_plan add project_id varchar(50) null comment '测试计划所属项目';
|
alter table test_plan add project_id varchar(50) null comment '测试计划所属项目';
|
||||||
|
ALTER TABLE api_test_case MODIFY COLUMN name varchar(255) NOT NULL COMMENT 'Test name';
|
||||||
|
|
||||||
DROP PROCEDURE IF EXISTS test_cursor;
|
DROP PROCEDURE IF EXISTS test_cursor;
|
||||||
DELIMITER //
|
DELIMITER //
|
||||||
|
|
|
@ -307,7 +307,7 @@ export default {
|
||||||
rules: {
|
rules: {
|
||||||
name: [
|
name: [
|
||||||
{required: true, message: this.$t('test_track.case.input_name'), trigger: 'blur'},
|
{required: true, message: this.$t('test_track.case.input_name'), trigger: 'blur'},
|
||||||
{max: 50, message: this.$t('test_track.length_less_than') + '50', trigger: 'blur'}
|
{max: 255, message: this.$t('test_track.length_less_than') + '255', trigger: 'blur'}
|
||||||
],
|
],
|
||||||
module: [{required: true, message: this.$t('test_track.case.input_module'), trigger: 'change'}],
|
module: [{required: true, message: this.$t('test_track.case.input_module'), trigger: 'change'}],
|
||||||
maintainer: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}],
|
maintainer: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}],
|
||||||
|
|
Loading…
Reference in New Issue