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
      })
    },
相关推荐
NE_STOP29 分钟前
MyBatis-mybatis入门与增删改查
java
孟陬4 小时前
国外技术周刊 #1:Paul Graham 重新分享最受欢迎的文章《创作者的品味》、本周被划线最多 YouTube《如何在 19 分钟内学会 AI》、为何我不
java·前端·后端
想用offer打牌4 小时前
一站式了解四种限流算法
java·后端·go
chlk1234 小时前
Linux文件权限完全图解:读懂 ls -l 和 chmod 755 背后的秘密
linux·操作系统
舒一笑4 小时前
Ubuntu系统安装CodeX出现问题
linux·后端
华仔啊4 小时前
Java 开发千万别给布尔变量加 is 前缀!很容易背锅
java
改一下配置文件5 小时前
Ubuntu24.04安装NVIDIA驱动完整指南(含Secure Boot解决方案)
linux
也些宝5 小时前
Java单例模式:饿汉、懒汉、DCL三种实现及最佳实践
java
Nyarlathotep01136 小时前
SpringBoot Starter的用法以及原理
java·spring boot