mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 02:00:22 +08:00
fix(tree): basicTree设置blockNode=false后,显示异常 (#567)
This commit is contained in:
parent
1ff13bf459
commit
2f8b2183ec
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user