mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: inputTree defer模式下悬浮不展示操作按钮
This commit is contained in:
parent
48811f335f
commit
8c5c37f8d1
@ -1306,12 +1306,11 @@ export class TreeSelector extends React.Component<
|
||||
: `${item[labelField]}`}
|
||||
</span>
|
||||
|
||||
{!disabled &&
|
||||
!isAdding &&
|
||||
!isEditing &&
|
||||
!(item[deferField] && !item.loaded) ? (
|
||||
{!disabled && !isAdding && !isEditing ? (
|
||||
<div className={cx('Tree-item-icons')}>
|
||||
{creatable && hasAbility(item, 'creatable') ? (
|
||||
{creatable &&
|
||||
!(item[deferField] && !item.loaded) &&
|
||||
hasAbility(item, 'creatable') ? (
|
||||
<TooltipWrapper
|
||||
placement={'bottom'}
|
||||
tooltip={__(createTip)}
|
||||
|
Loading…
Reference in New Issue
Block a user