mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
feat: Button Level 支持表达式
This commit is contained in:
parent
3e394cbae7
commit
02ec6f5de4
@ -858,7 +858,7 @@ export class Action extends React.Component<ActionProps, ActionState> {
|
||||
level={
|
||||
activeLevel && isActive
|
||||
? activeLevel
|
||||
: level || (primary ? 'primary' : undefined)
|
||||
: filter(level, data) || (primary ? 'primary' : undefined)
|
||||
}
|
||||
loadingClassName={loadingClassName}
|
||||
loading={loading}
|
||||
|
Loading…
Reference in New Issue
Block a user