mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
amis-saas-8684 「数据字典」mapping组件支持绑定字典
Change-Id: Ief9618fc8d95c6caa888e9d0f04dc6bf9b8facc8
This commit is contained in:
parent
8778f51476
commit
a75c3d1585
@ -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',
|
||||
|
@ -310,6 +310,16 @@ setSchemaTpl('optionControlV2', {
|
||||
closeDefaultCheck: true // 关闭默认值设置
|
||||
});
|
||||
|
||||
/**
|
||||
* mapping组件映射源
|
||||
*/
|
||||
setSchemaTpl('mapSourceControl', {
|
||||
type: 'ae-mapSourceControl',
|
||||
label: '映射表',
|
||||
mode: 'normal',
|
||||
name: 'source'
|
||||
});
|
||||
|
||||
/**
|
||||
* 时间轴组件选项控件
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user