mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-19 21:06:06 +08:00
fix(editor): 由于数据源可能有内部方法,所以去掉事件联动中数据源选项置灰的逻辑
This commit is contained in:
parent
5b8c2c2111
commit
1444eb6ae7
@ -188,9 +188,6 @@ const actionTypeConfig = computed(() => {
|
|||||||
{
|
{
|
||||||
text: '数据源',
|
text: '数据源',
|
||||||
label: '数据源',
|
label: '数据源',
|
||||||
disabled: !dataSourceService
|
|
||||||
?.get('dataSources')
|
|
||||||
?.filter((ds) => ds.methods?.length || dataSourceService.getFormMethod(ds.type).length).length,
|
|
||||||
value: ActionType.DATA_SOURCE,
|
value: ActionType.DATA_SOURCE,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user