tree 组件使用自定义图标及show-line 属性 会出现默认图标 用css加以隐藏
<style scoped>
:deep(.ant-tree-switcher-noop) {
width: 20px !important;
}
:deep(.ant-tree-switcher-noop>span) {
display: none;
}
</style>
tree 组件使用自定义图标及show-line 属性 会出现默认图标 用css加以隐藏
<style scoped>
:deep(.ant-tree-switcher-noop) {
width: 20px !important;
}
:deep(.ant-tree-switcher-noop>span) {
display: none;
}
</style>