1
0
mirror of synced 2026-04-03 06:28:35 +08:00

feat(editor): 数据源事件配置

This commit is contained in:
roymondchen
2023-09-21 10:58:39 +08:00
parent 36988cd3e0
commit 8b7a1e4e3c
5 changed files with 40 additions and 3 deletions

View File

@@ -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 => {

View File

@@ -205,6 +205,7 @@ export const eventTabConfig: TabPaneConfig = {
items: [
{
name: 'events',
src: 'component',
type: 'event-select',
},
],