{
  "form": {
    "columns": {
      "url": {
        "attrsForm": {},
        "attrsFormInt": {},
        "query": {},
        "queryLeft": {},
        "queryRight": {},
        "queryMenu": {},
        "params": {},
        "sortId": 9999,
        "alias": "url",
        "field": "url",
        "events": {},
        "attrs": {
          "label": "图片地址",
          "accept": "image/jpeg,image/jpg,image/png,image/gif",
          "limit-type": "image/jpeg,image/jpg,image/png,image/gif",
          "verify-method": "image",
          "maxSize": 4000,
          "multiple": false,
          "limit": 1,
          "listType": "picture",
          "drag": true,
          "hideTitle": "hide",
          //#region 图片基本信息,通常用于1对多子表 对应入库的field
          // size:sizeKb  name:name suffix:suffix
          "size-field": "size",
          "name-field": "name",
          "suffix-field": "suffix"
          //#end 图片基本信息,通常用于1对多子表
        },
        "attrsInt": {},
        "meta": {
          "edit": true,
          "component": "bs-upload",
          "rowId": "1",
          "tabId": "1",
          "span": 24,
          "dataType": "string2file"
        }
      },
      //#region 下拉框配置
      "position": {
        "attrs": {
          "label": "显示位置",
          "maxlength": 10,
          "clearable": true,
          //自定义组件
          "component-type": "custom",
          "lazy-renger": true,
          "multiple": false
        },
        "attrsInt": {},
        "meta": {
          //显示应用  mobile  pc   ipad   不设置表示全部显示
          //"showApp": "",
          "fromValue": true,
          "dimSessionKey": "dim-position-app",
          "dimLocalKey": "dim-position-app",
          "dimMkey": "mall-commodity-file",
          "dimResField": "basis",
          "dimColumnField": "position",
          //数据类型不一致导致问题设置  int 或 string
          "dimDataType": "string",
          "dimRemote": true,
          "dimUrl": null,
          "prop": "position",
          "rowId": 1,
          "type": "basis",
          "span": 24,
          "auth": true,
          "component": "bs-select"
        }
      }
      //#endregion 下拉框配置
    }
  }
}
文档更新时间: 2022-02-04 16:03   作者:admin