diff --git a/packages/amis-ui/src/components/Tree.tsx b/packages/amis-ui/src/components/Tree.tsx index 9a294e756..714f02f52 100644 --- a/packages/amis-ui/src/components/Tree.tsx +++ b/packages/amis-ui/src/components/Tree.tsx @@ -1306,12 +1306,11 @@ export class TreeSelector extends React.Component< : `${item[labelField]}`} - {!disabled && - !isAdding && - !isEditing && - !(item[deferField] && !item.loaded) ? ( + {!disabled && !isAdding && !isEditing ? (
- {creatable && hasAbility(item, 'creatable') ? ( + {creatable && + !(item[deferField] && !item.loaded) && + hasAbility(item, 'creatable') ? (