vue3 el-tree 父节点
时间: 2023-10-19 07:24:59 浏览: 126
在Vue3的el-tree组件中,父节点可以通过设置类名`.el-tree-node__expand-icon.expanded`和`.el-icon-caret-right:before`来控制展开和收缩的图标。 可以通过在CSS中使用`>>>`选择器来确保样式只应用于el-tree组件内部。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Vue ElementUI el-tree 修改节点收缩 icon](https://blog.csdn.net/sinat_31213021/article/details/120130119)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [vue3 el-tree ts数据格式递归处理,获取所有父节点信息,实时筛选](https://blog.csdn.net/weixin_40449665/article/details/126666372)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文