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

Commit75a9714

Browse files
fix: javascript queries not executing on page load
1 parent7e3b1a9 commit75a9714

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎client/packages/lowcoder-core/lib/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ var CodeNode = /** @class */ (function (_super) {
17771777
return;
17781778
}
17791779
// wait for lazy loaded comps to load before executing query on page load
1780-
if (!Object.keys(value).length) {
1780+
if (!Object.keys(value).length && paths.size) {
17811781
isFetching_1 = true;
17821782
ready_1 = false;
17831783
}

‎client/packages/lowcoder-core/src/eval/codeNode.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class CodeNode extends AbstractNode<ValueAndMsg<unknown>> {
173173
return;
174174
}
175175
// wait for lazy loaded comps to load before executing query on page load
176-
if(!Object.keys(value).length){
176+
if(!Object.keys(value).length&&paths.size){
177177
isFetching=true;
178178
ready=false;
179179
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp