mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
parent
0f0d2a878e
commit
7f3aa7e39b
@ -1394,7 +1394,7 @@ export async function resolveVariablesFromScope(node: any, manager: any) {
|
||||
manager?.variableManager?.getVariableFormulaOptions() || [];
|
||||
|
||||
return [...hostNodeVaraibles, ...dataPropsAsOptions, ...variables].filter(
|
||||
(item: any) => item.children?.length
|
||||
(item: any) => (item.children && item.children?.length) || !item.children
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user