Skip to content

Commit

Permalink
fix: tree node class props invalid (#3822)
Browse files Browse the repository at this point in the history
  • Loading branch information
ylc395 authored Mar 19, 2021
1 parent 4bdbb2c commit 75c4368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vc-tree/src/TreeNode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 75c4368

Please sign in to comment.