Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ffef5 commit 804449fCopy full SHA for 804449f
‎client/packages/lowcoder/src/comps/queries/queryComp/queryPropertyView.tsx
@@ -239,6 +239,11 @@ export const QueryGeneralPropertyView = (props: {
239
comp.children.datasourceId.dispatchChangeValueAction(QUICK_REST_API_ID);
240
}
241
242
+ if (datasourceType === 'js' && datasourceId === '') {
243
+ datasourceId = JS_CODE_ID;
244
+ comp.children.datasourceId.dispatchChangeValueAction(JS_CODE_ID);
245
+ }
246
+
247
const triggerOptions = useMemo(() => {
248
if (datasourceType === "js" || datasourceType === "streamApi") {
249
return JSTriggerTypeOptions;
0 commit comments