Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit804449f

Browse files
fix choose datasource dropdown in query panel value
1 parent55ffef5 commit804449f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎client/packages/lowcoder/src/comps/queries/queryComp/queryPropertyView.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ export const QueryGeneralPropertyView = (props: {
239239
comp.children.datasourceId.dispatchChangeValueAction(QUICK_REST_API_ID);
240240
}
241241

242+
if(datasourceType==='js'&&datasourceId===''){
243+
datasourceId=JS_CODE_ID;
244+
comp.children.datasourceId.dispatchChangeValueAction(JS_CODE_ID);
245+
}
246+
242247
consttriggerOptions=useMemo(()=>{
243248
if(datasourceType==="js"||datasourceType==="streamApi"){
244249
returnJSTriggerTypeOptions;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp