- { }占位符,对应columns里面title
"childArray": [
{
"type": "childArray",
"field": "childArray",
"message": "值必须是数组类型。",
"sortId": 4,
"isAdd": true,
"isEdit": true
}
],
case RuleType.Array:
if (!(valueTemp is JArray && valueTemp != null && (valueTemp as JArray).Count() > 0))
{
throw new BizException(string.Format(message, rule.Min, rule.Max, rule.Accept));
}
文档更新时间: 2022-01-09 20:59 作者:admin