amis-saas-8684 「数据字典」mapping组件支持绑定字典

Change-Id: Ief9618fc8d95c6caa888e9d0f04dc6bf9b8facc8
This commit is contained in:
jinye 2022-12-27 19:05:45 +08:00
parent 8778f51476
commit a75c3d1585
2 changed files with 11 additions and 6 deletions

View File

@ -64,12 +64,7 @@ export class MappingPlugin extends BasePlugin {
tpl: '<p>当前为字段内容节点配置,选择上层还有更多配置</p>'
}
: null,
{
type: 'ae-mapSourceControl',
label: '映射表',
mode: 'normal',
name: 'source'
},
getSchemaTpl('mapSourceControl'),
{
type: 'ae-switch-more',
mode: 'normal',

View File

@ -310,6 +310,16 @@ setSchemaTpl('optionControlV2', {
closeDefaultCheck: true // 关闭默认值设置
});
/**
* mapping组件映射源
*/
setSchemaTpl('mapSourceControl', {
type: 'ae-mapSourceControl',
label: '映射表',
mode: 'normal',
name: 'source'
});
/**
*
*/