mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-12 06:57:11 +08:00
fix: 完善部分输入表单项字符长度限制
Closes #IBPYW5
This commit is contained in:
@@ -149,6 +149,10 @@ const formColumns: ColumnItem[] = reactive([
|
||||
label: '作者名称',
|
||||
field: 'author',
|
||||
type: 'input',
|
||||
props: {
|
||||
maxLength: 100,
|
||||
showWordLimit: true,
|
||||
},
|
||||
rules: [{ required: true, message: '请输入作者名称' }],
|
||||
},
|
||||
{
|
||||
@@ -157,6 +161,8 @@ const formColumns: ColumnItem[] = reactive([
|
||||
type: 'input',
|
||||
props: {
|
||||
placeholder: '自定义业务名称,例如:用户',
|
||||
maxLength: 50,
|
||||
showWordLimit: true,
|
||||
},
|
||||
rules: [{ required: true, message: '请输入业务名称' }],
|
||||
},
|
||||
@@ -166,6 +172,8 @@ const formColumns: ColumnItem[] = reactive([
|
||||
type: 'input',
|
||||
props: {
|
||||
placeholder: '项目模块名称,例如:continew-system',
|
||||
maxLength: 60,
|
||||
showWordLimit: true,
|
||||
},
|
||||
rules: [{ required: true, message: '请输入所属模块' }],
|
||||
},
|
||||
@@ -175,6 +183,8 @@ const formColumns: ColumnItem[] = reactive([
|
||||
type: 'input',
|
||||
props: {
|
||||
placeholder: '项目模块包名,例如:top.continew.admin.system',
|
||||
maxLength: 60,
|
||||
showWordLimit: true,
|
||||
},
|
||||
rules: [{ required: true, message: '请输入模块包名' }],
|
||||
},
|
||||
@@ -184,7 +194,8 @@ const formColumns: ColumnItem[] = reactive([
|
||||
type: 'input',
|
||||
props: {
|
||||
placeholder: '数据库表前缀,例如:sys_',
|
||||
width: '200',
|
||||
maxLength: 20,
|
||||
showWordLimit: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user