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

Commitaf83e43

Browse files
committed
#1720 fix modes height
1 parent1e09cba commitaf83e43

File tree

1 file changed

+2
-6
lines changed
  • client/packages/lowcoder/src/comps/comps/fileComp

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ let FileTmpComp = new UICompBuilder(childrenMap, (props, dispatch) => {
472472
label:trans("file.dragHintText"),
473473
})}
474474
{children.uploadType.propertyView({label:trans("file.uploadType")})}
475-
{children.uploadMode.getView()==="dragArea"&&children.autoHeight.getPropertyView()}
475+
{children.autoHeight.getPropertyView()}
476476
</Section>
477477

478478
<FormDataPropertyView{...children}/>
@@ -530,11 +530,7 @@ let FileTmpComp = new UICompBuilder(childrenMap, (props, dispatch) => {
530530

531531
classFileImplCompextendsFileTmpComp{
532532
overrideautoHeight():boolean{
533-
// Button mode is always fixed (grid should show resize handles)
534-
constmode=this.children.uploadMode.getView();// "button" | "dragArea"
535-
if(mode!=="dragArea")returnfalse;
536-
537-
// "auto" | "fixed" -> boolean
533+
// Both button and dragArea modes should respect the autoHeight setting
538534
consth=this.children.autoHeight.getView();
539535
returnh;
540536
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp