Unverified 提交 2f8b2183 作者: 啝裳 提交者: GitHub

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

上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论