element [Bug Report] el-tree icon-class

pvcm50d1  于 2023-02-04  发布在  其他
关注(0)|答案(1)|浏览(268)

Element UI version

2.13.0

OS/Browsers version

win10 chrome 80.0.3987.163

Vue version

2.6.11

https://codepen.io/qingyun/pen/abvoLpg?editable=true

Steps to reproduce

点击 tree 节点展开

What is Expected?

el-tree 节点收缩状态 icon 为 el-icon-plus 展开状态节点为 el-icon-minus 。
查看issues #18306 关联提交 #49da8f5be2d3c5300eaf687ae27bfc27151bfbf4 . 发现tree 组件接收了 icon-class 和 expand-icon-class 两个属性,但实际使用时 最新版2.13.0 的tree 中通过props接收了 icon-class 属性,没有接 expand-icon-class 属性

What is actually happening?

tree props 没有接收 expand-icon-class

wgmfuz8q

wgmfuz8q1#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题