select的filterable如何使用

时间:2026-02-11 22:44:35

1、打开一个vue文件,然后新建一个下拉框标签。如图:

select的filterable如何使用

2、在select标签上添加filterable属性,实现下拉框带搜索功能。如图:

select的filterable如何使用

3、保存vue文件后使用浏览器打开,点击下拉框显示所有内容。如图:

select的filterable如何使用

4、 在下拉框内输入一个‘双’字后,发现下拉框只显示含有双的内容。如图:

select的filterable如何使用

© 2026 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com