•  设置type=json

    
       "contactInfo": [
        {
          "type": "maxlength",
          "required": false,
          "isAdd": true,
          "isEdit": true,
          "max": 4000,
          "message": "【{contact_info}】值最大长度为4000。"
        },
        //json验证
        {
          "type": "json",
          "required": true,
          "isAdd": true,
          "isEdit": true,
          "message": "【{contact_info}】Json格式不正确。"
        }
        ]
文档更新时间: 2022-01-16 21:56   作者:admin