当前位置:网站首页>el-select下拉框多选远程搜索反显
el-select下拉框多选远程搜索反显
2022-07-23 22:04:00 【单身girl】


<el-form-item label="**方:" prop="coSponsorIds">
<el-select v-if="isShow" v-model="form.coSponsorIds" placeholder="请输入**方名称"
:style="{width: '100%'}"
multiple // 是否多选
filterable//为el-select添加filterable属性即可启用搜索功能
remote //是否为远程搜索
reserve-keyword //多选且可搜索时,是否在选中一个选项后保留当前的搜索关键词
:remote-method="getcoSponsorNamesList" // 远程搜索方法
:loading="loading">
<el-option v-for="(item, index) in coSponsorNamesList" :key="index" :label="item.deptName"
:value="item.deptId" :disabled="item.disabled"></el-option>
</el-select>
<p style="margin: 0px;" v-else v-for="(item, index) in seestopConference.coSponsorIds" :key="index">
<span>{
{
item}}</span>
</p>
</el-form-item>
边栏推荐
- 如何在 pyqt 中实现桌面歌词
- Redis常用命令对应到Redisson对象操作
- 【数学建模暑期培训】配送中心选址问题
- Pulsar open source message queue_ Understand pulsar --- pulsar work notes 001
- MySQL索引事务
- JMeter performance comprehensive practice - sign in and batch sign in
- Openlayers instance animated GIF GIF animation
- JDBC programming of MySQL
- Use Gaode map JS API 2.0 to load the starting and ending path tracks
- How to implement desktop lyrics in pyqt
猜你喜欢

Construction and application progress of ten billion level knowledge map of meituan brain

王学岗视频编码————MediaCodec编解码

University database creation and query practice -- database table design

Mqtt connection, subscription and publishing can be realized without mqtt C library

大学数据库创建与查询实战——数据库表设计

实验设计

Use Gaode map JS API 2.0 to load the starting and ending path tracks

MySQL如何对SQL做prepare预处理(解决IN查询SQL预处理仅能查询出一条记录的问题)

【golang学习笔记】Go语言中参数的传递是值传递还是引用传递

ESP32 的 I2C 原理 & 应用入门
随机推荐
软件体系结构期末复习六十题
Summary of database stress testing methods
初探POC编写
二分函数细节
MySQL的JDBC編程
Redis常用命令对应到Redisson对象操作
Quick review of interview (III): probability theory and mathematical statistics
【数学建模暑期培训】配送中心选址问题
Practice data Lake iceberg lesson 37 kakfa write the enfour, not enfour test of iceberg's icberg table
What are the product life cycle, common project functions, and information flow
如何在 pyqt 中实现桌面歌词
NLP field history most complete must read classic papers classification, sorting and sharing (with Chinese analysis)
ONEFLOW V0.8.0 officially released
【AcWing】周赛
LeetCode高频题62. 不同路径:机器人从左上角到右下角的路径有多少条?纯概率排列组合问题,而不是动态规划题
【golang学习笔记】包(package)的使用
Apprentissage Lambda (utilisation du comparateur après tri, regroupement après collecte avec collectors.groupingby)
如何彻底强制杀死后台无关进程?
JS - event proxy and application scenarios
节流和防抖的说明和实现