Commit 489e0557 authored by GuanHua's avatar GuanHua
parents 0514590b 981676ae
......@@ -126,7 +126,16 @@ export const auditModalSchema: ISchema = {
placeholder: '在此输入你的内容,最长120个字符,60个汉字',
maxLength: 60,
},
'x-rules': [{ required: true, message: '请填写审核不通过原因' }],
'x-rules': [
{
required: true,
message: '请填写审核不通过原因',
},
{
limitByte: true, // 自定义校验规则
maxByte: 120,
}
],
},
},
},
......
......@@ -149,7 +149,16 @@ export const auditModalSchema: ISchema = {
maxLength: 60,
rows: 5,
},
'x-rules': [{ required: true, message: '请填写原因' }],
'x-rules': [
{
required: true,
message: '请填写原因',
},
{
limitByte: true, // 自定义校验规则
maxByte: 120,
}
],
},
},
},
......
......@@ -140,10 +140,10 @@ export const auditModalSchema: ISchema = {
rows: 5,
},
'x-rules': [
// {
// required: true,
// message: '请填写审核不通过原因',
// }
{
limitByte: true, // 自定义校验规则
maxByte: 120,
}
],
},
},
......
......@@ -140,10 +140,10 @@ export const auditModalSchema: ISchema = {
rows: 5,
},
'x-rules': [
// {
// required: true,
// message: '请填写审核不通过原因',
// }
{
limitByte: true, // 自定义校验规则
maxByte: 120,
}
],
},
},
......
......@@ -140,10 +140,10 @@ export const auditModalSchema: ISchema = {
rows: 5,
},
'x-rules': [
// {
// required: true,
// message: '请填写审核不通过原因',
// }
{
limitByte: true, // 自定义校验规则
maxByte: 120,
}
],
},
},
......
......@@ -140,10 +140,10 @@ export const auditModalSchema: ISchema = {
rows: 5,
},
'x-rules': [
// {
// required: true,
// message: '请填写审核不通过原因',
// }
{
limitByte: true, // 自定义校验规则
maxByte: 120,
}
],
},
},
......
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