el-tree-transfer默认
时间: 2023-10-06 09:09:34 浏览: 107
el-tree-transfer的默认使用方式是通过在需要的文件中引入el-tree-transfer插件,并结合element-ui来实现树形穿梭框。首先需要在项目中安装element-ui和el-tree-transfer插件。你可以通过以下的命令来安装插件:
```
npm install element-ui --save
npm install el-tree-transfer --save
```
然后在需要使用el-tree-transfer的文件中引入el-tree-transfer插件,例如:
```
import treeTransfer from "el-tree-transfer";
```
这样就可以在文件中使用el-tree-transfer来实现树形穿梭框,并且可以自定义图标等功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [el-tree-transfer自定义节点图标](https://blog.csdn.net/weixin_45493439/article/details/121603183)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Vue el-tree与el-transfer的结合使用之el-tree-transfer](https://blog.csdn.net/qq_35713827/article/details/97109216)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文