diff --git a/client/packages/lowcoder-design/src/components/keyValueList.tsx b/client/packages/lowcoder-design/src/components/keyValueList.tsx index dfa6af5b4..a847e0e59 100644 --- a/client/packages/lowcoder-design/src/components/keyValueList.tsx +++ b/client/packages/lowcoder-design/src/components/keyValueList.tsx @@ -100,7 +100,7 @@ export const KeyValueList = (props: { return ( <> {props.list.map((item, index) => ( - + {item} {!props.isStatic && diff --git a/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx b/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx index e337ac869..a79b6b52f 100644 --- a/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx +++ b/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx @@ -19,14 +19,14 @@ const ExecuteQueryPropertyView = ({ placement?: "query" | "table" }) => { const getQueryOptions = useCallback((editorState?: EditorState) => { - const options: { label: string; value: string; variable?: Record }[] = + const options: { label: string; value: string; variables?: Record }[] = editorState ?.queryCompInfoList() .map((info) => { return { label: info.name, value: info.name, - variable: info.data.variable, + variables: info.data.variables, } }) .filter( @@ -79,7 +79,7 @@ const ExecuteQueryPropertyView = ({ onChange={(value) => { const options = getQueryOptions(editorState); const selectedQuery = options.find(option => option.value === value); - const variables = selectedQuery ? Object.keys(selectedQuery.variable || {}) : []; + const variables = selectedQuery ? Object.keys(selectedQuery.variables || {}) : []; comp.dispatchChangeValueAction({ queryName: value, queryVariables: variables.map((variable) => ({key: variable, value: ''})), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy