feat(editor): 数据源事件配置
This commit is contained in:
@@ -29,6 +29,18 @@ const fillConfig = (config: FormConfig): FormConfig => [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'panel',
|
||||
title: '事件配置',
|
||||
display: false,
|
||||
items: [
|
||||
{
|
||||
name: 'events',
|
||||
src: 'datasource',
|
||||
type: 'event-select',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const getFormConfig = (type: string, configs: Record<string, FormConfig>): FormConfig => {
|
||||
|
||||
@@ -205,6 +205,7 @@ export const eventTabConfig: TabPaneConfig = {
|
||||
items: [
|
||||
{
|
||||
name: 'events',
|
||||
src: 'component',
|
||||
type: 'event-select',
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user