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
      })
    },
相关推荐
mzhan01712 分钟前
Linux: signal: SIGALRM; alarm: ITIMER_REAL
linux·运维·服务器
●VON25 分钟前
纯ArkUI实现7层拟物3D环形进度图:零依赖的视觉革命
服务器·3d·app·鸿蒙·von
mzhan01727 分钟前
Linux: compare的直观性
java·linux·服务器
mask哥33 分钟前
力扣算法java实现汇总整理(下)
java·算法·leetcode
爱喝水的鱼丶33 分钟前
SAP-ABAP:SAP 与 ABAP 关联逻辑与入门路径:业务×开发的协作指南
服务器·前端·数据库·学习·sap·abap
原来是猿37 分钟前
TCP Server 业务扩展实战:从 Echo 到远程命令执行与词典翻译
linux·运维·服务器
小陈的进阶之路39 分钟前
Python系列课(2)——判断
java·前端·python
刚子编程42 分钟前
C# Join 进阶:GroupJoin、性能对决与自定义比较器
java·servlet·c#·join
漫随流水1 小时前
IDEA快速生成构造方法(空参、带参)
java·intellij-idea
spencer_tseng1 小时前
Spring Boot 3.0+ jakarta.*
java·spring boot