Skip to content

Commit fe24285

Browse files
author
weilei
committed
fix: 修复 Attachments 组件中 overflow 类名的格式,确保样式正确应用
1 parent 7cabef1 commit fe24285

File tree

1 file changed

+2
-2
lines changed
  • packages/element-x-ui/src/components/Attachments/src

1 file changed

+2
-2
lines changed

packages/element-x-ui/src/components/Attachments/src/main.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
ref="containerRef"
3838
class="el-x-attachments"
3939
:class="{
40-
[`el-x-attachments-overflow-${overflow}`]: overflow,
41-
}"
40+
[`el-x-attachments-overflow-${overflow}`]: overflow,
41+
}"
4242
:style="{
4343
...(overflow === 'scrollX' ? { whiteSpace: 'nowrap', overflowX: 'auto', overflowY: 'hidden' } : {}),
4444
...(overflow === 'scrollY' ? { overflowX: 'hidden', overflowY: 'auto' } : {}),

0 commit comments

Comments
 (0)