mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: 修复 condition-builder 操作符只有一个时不可以点选的问题 (#9439)
This commit is contained in:
parent
f5804b8204
commit
9cc9a72bc2
@ -223,7 +223,7 @@ export class ConditionItem extends React.Component<ConditionItemProps> {
|
||||
return (
|
||||
<PopOverContainer
|
||||
mobileUI={mobileUI}
|
||||
disabled={operators.length < 2}
|
||||
disabled={!!(value?.op && operators.length < 2)}
|
||||
popOverContainer={popOverContainer || (() => findDOMNode(this))}
|
||||
popOverRender={({onClose}) => (
|
||||
<GroupedSelection
|
||||
|
Loading…
Reference in New Issue
Block a user