mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix: collapse组件设置collapsable时样式修复 (#3145)
Co-authored-by: hongyang03 <hongyang03@baidu.com>
This commit is contained in:
parent
a57d976e98
commit
6d5016d526
@ -227,7 +227,7 @@ export class Collapse extends React.Component<CollapseProps, CollapseState> {
|
||||
{
|
||||
'is-active': !this.state.collapsed,
|
||||
[`Collapse--${size}`]: size,
|
||||
'Collapse--disabled': disabled || collapsable === false,
|
||||
'Collapse--disabled': disabled,
|
||||
'Collapse--title-bottom': headerPosition === 'bottom'
|
||||
},
|
||||
className
|
||||
|
Loading…
Reference in New Issue
Block a user