fix(tree): basicTree设置blockNode=false后,显示异常 (#567)
This commit is contained in:
parent
1ff13bf459
commit
2f8b2183ec
|
|
@ -309,7 +309,11 @@
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
{icon && <TreeIcon icon={icon} />}
|
{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`}>
|
<span class={`${prefixCls}__actions`}>
|
||||||
{renderAction({ ...item, level })}
|
{renderAction({ ...item, level })}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue