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

Commitc94eca0

Browse files
author
FalkWolsky
committed
Small fixes for left menu after ANTd Update
1 parent34faa66 commitc94eca0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎client/packages/lowcoder/src/pages/editor/LeftContent.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,10 @@ export const LeftContent = (props: LeftContentProps) => {
450450
open={info.show}
451451
onOk={()=>setShowData([])}
452452
cancelButtonProps={{style:{display:'none'}}}
453-
maskClosable={true}// Prevent closing on background click
453+
closable={false}
454+
destroyOnClose={true}
455+
maskClosable={false}
456+
okText={trans("modalComp.close")}
454457
>
455458
<div
456459
style={{whiteSpace:'nowrap',wordWrap:'normal',maxHeight:"calc(100vh - 400px)",overflow:"scroll"}}
@@ -491,6 +494,8 @@ export const LeftContent = (props: LeftContentProps) => {
491494
return(
492495
<DirectoryTreeStyle
493496
treeData={explorerData}
497+
checkable={false}
498+
selectable={false}
494499
icon={(props:any)=>props.type&&(
495500
<divstyle={{margin:'16px 4px 0 -4px'}}>
496501
{CompStateIcon[props.typeasUICompType]||<LeftCommon/>}

‎client/packages/lowcoder/src/pages/editor/LeftLayersContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ export const LeftLayersContent = (props: LeftLayersContentProps) => {
525525
onDrop={(info)=>handleDrop(info)}
526526
treeData={componentTreeData}
527527
icon={(props:any)=>props.type&&(
528-
<divstyle={{margin:'3px 4px 0 -4px'}}>
528+
<divstyle={{margin:'16px 5px 0 -3px'}}>
529529
{CompStateIcon[props.typeasUICompType]||<LeftCommon/>}
530530
</div>
531531
)}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp