fix: tree node class props invalid (#3822)
parent
4bdbb2c5d4
commit
75c43683eb
|
@ -543,7 +543,7 @@ const TreeNode = defineComponent({
|
|||
return (
|
||||
<li
|
||||
class={{
|
||||
className,
|
||||
[className]: className,
|
||||
[`${prefixCls}-treenode-disabled`]: disabled,
|
||||
[`${prefixCls}-treenode-switcher-${expanded ? 'open' : 'close'}`]: !isLeaf,
|
||||
[`${prefixCls}-treenode-checkbox-checked`]: checked,
|
||||
|
|
Loading…
Reference in New Issue