找回密码
 立即注册
首页 资源区 代码 vxe-tree vue 树组件实现关键字搜索

vxe-tree vue 树组件实现关键字搜索

锟及 2025-9-24 14:30:55
vxe-tree vue 树组件实现关键字搜索
查看官网:https://vxeui.com
gitbub:https://github.com/x-extends/vxe-pc-ui
gitee:https://gitee.com/x-extends/vxe-pc-ui
1.gif

代码

实现方式通过输入框输入内容,对数据进行筛选过滤
  1. <template>
  2.   
  3.    
  4.       <vxe-input v-model="filterName" type="search" clearable @change="searchEvent"></vxe-input>
  5.    
  6.     <vxe-tree ref="treeRef"  v-bind="treeOptions">
  7.       <template #title="{ node }">
  8.         
  9.       </template>
  10.     </vxe-tree>
  11.   
  12. </template>
复制代码
https://gitee.com/x-extends/vxe-pc-ui

来源:程序园用户自行投稿发布,如果侵权,请联系站长删除
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

相关推荐

2025-12-1 12:48:16

举报

2025-12-14 09:42:14

举报

2025-12-20 16:48:45

举报

2026-1-18 14:25:06

举报

2026-1-22 02:31:51

举报

2026-1-25 10:44:14

举报

喜欢鼓捣这些软件,现在用得少,谢谢分享!
2026-2-3 03:54:52

举报

2026-2-3 09:03:37

举报

2026-2-8 04:23:30

举报

喜欢鼓捣这些软件,现在用得少,谢谢分享!
2026-2-11 00:25:01

举报

12下一页
您需要登录后才可以回帖 登录 | 立即注册