Elementplus远程搜索下拉

远程搜索

:remote-method="getAppNumberList"

java 复制代码
		<div class="filter-item">
          <span>型号:</span>
          <el-select v-model="listQuery.numberId" clearable filterable :remote-method="getAppNumberList" remote placeholder="请选择型号">
            <el-option
              v-for="item in appNumberList"
              :key="'type' + item.id"
              :label="item.numberName"
              :value="item.id" />
          </el-select>
        </div>
java 复制代码
	getAppNumberList(numberName) {
      this.listAppNumberQuery.numberName = numberName
      fetchAppNumberList(this.listAppNumberQuery).then(response => {
        this.appNumberList = response.data.data
      })
    },
相关推荐
imDwAaY几秒前
Spring Boot的核心配置文件一览及其加载顺序
java·spring boot·后端
zhangx1234_3 分钟前
javaEE 多线程1
java·linux·服务器
鬼手点金8 分钟前
opencode-crawl4ai使用建议
java·开发语言·人工智能·python·机器学习
沙滩上的一颗石头11 分钟前
裴讯N1刷Armbian后写入EMMC引导失败解决方法
linux
专业程序开发源22 分钟前
springboot校园志愿者管理系统28562-计算机课程设计、毕业设计
java·spring boot·后端·python·django·php·课程设计
thefool11226626 分钟前
多线程 2
java
陌上花开缓缓归以2 小时前
arm linux ddr 内存布局
linux·arm开发
龙腾-虎跃2 小时前
Linux 趣味实战|纯 Bash Shell 脚本实现俄罗斯方块终端小游戏(完整源码资源)
linux·运维·bash
阳光九叶草LXGZXJ9 小时前
达梦数据库-报错-15-列【XXX】长度超出定义
linux·运维·数据库·sql·学习
奔跑的大白啊9 小时前
多容器共享目录权限踩坑记
linux·ubuntu·共享目录·linux权限·docker 容器化部署