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

Commit09164f7

Browse files
committed
Merge branch 'dev' of github.com:lowcoder-org/lowcoder into feat/1903-editmode-util
2 parents4ca237d +62e83b8 commit09164f7

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

‎client/packages/lowcoder/src/comps/comps/remoteComp/remoteComp.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function ViewLoading(props: { padding?: number }) {
4545
);
4646
}
4747

48-
interfaceRemoteCompReadyAction{
48+
exportinterfaceRemoteCompReadyAction{
4949
type:"RemoteCompReady";
5050
comp:Comp;
5151
}

‎client/packages/lowcoder/src/comps/generators/withMultiContext.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import { setFieldsNoTypeCheck } from "util/objectUtils";
2626
import{map}from"./map";
2727
import{paramsEqual,withParamsWithDefault}from"./withParams";
2828
import{LazyCompReadyAction}from"../comps/lazyLoadComp/lazyLoadComp";
29+
import{RemoteCompReadyAction}from"../comps/remoteComp/remoteComp";
2930

3031
exportconstCOMP_KEY="__comp__";
3132
exportconstMAP_KEY="__map__";
@@ -171,6 +172,7 @@ export function withMultiContext<TCtor extends MultiCompConstructor>(VariantComp
171172
&&(
172173
!thisCompMap.hasOwnProperty(action.path[1])
173174
||isCustomAction<LazyCompReadyAction>(action,"LazyCompReady")
175+
||isCustomAction<RemoteCompReadyAction>(action,"RemoteCompReady")
174176
)
175177
){
176178
/**

‎client/packages/lowcoder/src/comps/generators/withSelectedMultiContext.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { COMP_KEY, MAP_KEY, withMultiContext } from "./withMultiContext";
1414
import{paramsEqual}from"./withParams";
1515
import{LazyCompReadyAction}from"../comps/lazyLoadComp/lazyLoadComp";
1616
import{ModuleReadyAction}from"../comps/moduleComp/moduleComp";
17+
import{RemoteCompReadyAction}from"../comps/remoteComp/remoteComp";
1718

1819
constSELECTED_KEY="SELECTED";
1920

@@ -75,6 +76,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
7576
}elseif((
7677
!action.editDSL
7778
&&!isCustomAction<LazyCompReadyAction>(action,"LazyCompReady")
79+
&&!isCustomAction<RemoteCompReadyAction>(action,"RemoteCompReady")
7880
&&!isCustomAction<ModuleReadyAction>(action,"moduleReady")
7981
)||action.path[0]!==MAP_KEY||_.isNil(action.path[1])
8082
){
@@ -85,6 +87,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
8587
}elseif((
8688
action.editDSL
8789
||isCustomAction<LazyCompReadyAction>(action,"LazyCompReady")
90+
||isCustomAction<RemoteCompReadyAction>(action,"RemoteCompReady")
8891
||isCustomAction<ModuleReadyAction>(action,"moduleReady")
8992
)&&(
9093
action.path[1]===SELECTED_KEY
@@ -104,6 +107,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
104107
&&(
105108
isCustomAction<ModuleReadyAction>(action,"moduleReady")
106109
||isCustomAction<LazyCompReadyAction>(action,"LazyCompReady")
110+
||isCustomAction<RemoteCompReadyAction>(action,"RemoteCompReady")
107111
)&&action.path[0]===MAP_KEY
108112
){
109113
comp=super.reduce(action);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp