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

Commit36704c6

Browse files
committed
remote npm comp load fix
1 parent24ef259 commit36704c6

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

‎viewer/packages/lowcoder/src/comps/comps/containerBase/containerCompBuilder.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ export class ContainerCompBuilder<
4040
this.childrenMap=childrenMap;
4141
this.viewFn=viewFn;
4242
}
43+
setPropertyViewFn(
44+
propertyViewFn:any
45+
){
46+
returnthis;
47+
}
4348
build(){
4449
if(this.childrenMap.hasOwnProperty("container")){
4550
thrownewError("already has container");

‎viewer/packages/lowcoder/src/comps/generators/multi.tsx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ export class MultiCompBuilder<ViewReturn, ChildrenCompMap extends Record<string,
8080
this.viewFn=viewFn;
8181
}
8282

83+
setPropertyViewFn(
84+
propertyViewFn:any
85+
){
86+
returnthis;
87+
}
88+
8389
build(){
8490
constbuilder=this;
8591

‎viewer/packages/lowcoder/src/comps/generators/uiCompBuilder.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class UICompBuilder<
9191
setPropertyViewFn(
9292
propertyViewFn:any
9393
){
94-
returntrue;
94+
returnthis;
9595
}
9696

9797
setExposeStateConfigs(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp