Content-Length: 2383 | pFad | http://github.com/lowcoder-org/lowcoder/pull/1499.diff
thub.com
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: ''})),
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/lowcoder-org/lowcoder/pull/1499.diff
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy