啝裳
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
src/components/Tree/src/index.vue
|
|
|
@ -309,7 +309,11 @@ |
|
|
|
) : ( |
|
|
|
<> |
|
|
|
{icon && <TreeIcon icon={icon} />} |
|
|
|
<span class={`${prefixCls}__content`}>{get(item, titleField)}</span> |
|
|
|
<span |
|
|
|
class={unref(getBindValues)?.blockNode ? `${prefixCls}__content` : ''} |
|
|
|
> |
|
|
|
{get(item, titleField)} |
|
|
|
</span> |
|
|
|
<span class={`${prefixCls}__actions`}> |
|
|
|
{renderAction({ ...item, level })} |
|
|
|
</span> |
|
|
|
|