Commit e6e2ab7a authored by XieZhiXiong's avatar XieZhiXiong

chore: 添加同行人字符长度限制

parent de5fa766
......@@ -78,8 +78,14 @@ const schema: ISchema = {
title: '同行人',
type: 'string',
'x-component-props': {
placeholder: '请输入',
placeholder: '最长40个字符,20个汉字',
},
'x-rules': [
{
limitByte: true, // 自定义校验规则
maxByte: 40,
}
],
},
visitDate: {
title: '拜访日期',
......
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