Commit f5620175 authored by ganke's avatar ganke

fix: 修复bug,组织机构没有限制字符长度的问题

parent db8f2b01
......@@ -16,10 +16,11 @@ export const menuSchema: ISchema = {
code: {
type: 'string',
title: intl.formatMessage({ id: 'authConfig.origanCode' }),
// title: 'ssss',
'x-rules': [{
required: true,
message: intl.formatMessage({ id: 'common.form.input.placeholder' })
}],
},{ limitByte: true, maxByte: 12 }],
},
title: {
......@@ -28,11 +29,14 @@ export const menuSchema: ISchema = {
'x-rules': [{
required: true,
message: intl.formatMessage({ id: 'common.form.input.placeholder' })
}]
},{ limitByte: true, maxByte: 40 }],
},
remark: {
type: 'textarea',
title: intl.formatMessage({ id: 'authConfig.describe' }),
'x-rules': [
{ limitByte: true, maxByte: 64 }
],
"x-component-props": {
rows: 4
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment