找到属性必要信息

  1. 打开设计器找到class_id
  2. 找到数据编码

数据库执行

查询属性记录得到属性记录Id

根据上面找到的class_id和属性编码查询

select * from obj_attribute a where a.class_id = 'b28187168ebb4977aadfbe9348b94291' and a.api_name = 'RICH_TEXT';

查询设计器配置信息

根据上面的属性Id查询设计器配置信息;attr1存储的是;attr2存储的是;attr3存储的是属性配置;

select * from obj_general_config g where g.relate_id = (
select l.id from obj_layout_config l where l.relate_id = '3757a533b4b54d178b348938792eacaa' and l.biz_type = 'LCP_FORM_DESIGN_CHILDREN'
) and g.biz_type = 'LCP_FORM_DESIGN_CHILDREN'
;

按需修改对应的内容

  • attr1存储的是 校验规则等;
    [{"isEnabled":"0","type":"required","message":"","value":"1"},
    {"isEnabled":"1","type":"maxLength","message":"","value":1024}]
  • attr2存储的是 UI配置;
    {"attr":{"col":"24","labelAlign":"right","wrapperCol":{"span":20},"labelCol":{"span":4}}}
  • attr3存储的是 属性配置;
    {"commitType":"always","isChangeOn":"0","apiName":"RICH_TEXT","resource":"tz-plugin","formCode":"BASIC_INFO_GROUP","exportKey":"ITCompRichTextEditorConfigs","mouldName":"基础信息","hyphen":"","isCrtVisible":"1","outputType":"string","isVisible":"1","attrType":"RICH_TEXT","importType":"local","mouldId":"BASIC_INFO_GROUP","isVersionOn":"0","isEditable":"1","dictConfig":{},"isEnabled":"1","name":"富文本","isCopiable":"1"}
作者:聂维  创建时间:2025-02-28 17:42
最后编辑:聂维  更新时间:2025-05-12 18:04