Unverified Commit 2f8b2183 authored by 啝裳's avatar 啝裳 Committed by GitHub

fix(tree): basicTree设置blockNode=false后,显示异常 (#567)

parent 1ff13bf4
...@@ -309,7 +309,11 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment