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

Commitfde1bac

Browse files
committed
Added rightpanel skeleton
1 parent0ad48c4 commitfde1bac

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

‎client/packages/lowcoder/src/pages/editor/right/RightPanel.tsx‎

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ import PropertyView from "./PropertyView";
44
importInsertViewfrom"./InsertView";
55
importtypeUICompfrom"comps/comps/uiComp";
66
importtype{UiLayoutType}from"comps/comps/uiComp";
7-
import{useEffect,useState}from"react";
7+
import{Suspense,useEffect,useState}from"react";
88
import{trans}from"i18n";
99
import{isAggregationApp}from"util/appUtils";
1010
importReactfrom"react";
1111
import{MultiIconDisplay}from"@lowcoder-ee/comps/comps/multiIconDisplay";
12+
import{Skeleton}from"antd";
1213

1314
typeRightPanelProps={
1415
onTabChange:(key:string)=>void;
@@ -45,13 +46,15 @@ function RightPanel(props: RightPanelProps) {
4546

4647
return(
4748
<RightPanelWrapperclassName="cypress-right-content">
48-
<Tabs
49-
onChange={(key)=>{
50-
onTabChange(key);
51-
}}
52-
tabsConfig={tabConfigs}
53-
activeKey={activeKey}
54-
/>
49+
<Suspensefallback={<Skeleton></Skeleton>}>
50+
<Tabs
51+
onChange={(key)=>{
52+
onTabChange(key);
53+
}}
54+
tabsConfig={tabConfigs}
55+
activeKey={activeKey}
56+
/>
57+
</Suspense>
5558
</RightPanelWrapper>
5659
);
5760
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp