fix(editor): 由于数据源可能有内部方法,所以去掉事件联动中数据源选项置灰的逻辑

This commit is contained in:
roymondchen 2025-05-16 17:14:50 +08:00
parent 5b8c2c2111
commit 1444eb6ae7

View File

@ -188,9 +188,6 @@ const actionTypeConfig = computed(() => {
{
text: '数据源',
label: '数据源',
disabled: !dataSourceService
?.get('dataSources')
?.filter((ds) => ds.methods?.length || dataSourceService.getFormMethod(ds.type).length).length,
value: ActionType.DATA_SOURCE,
},
],