当前位置:网站首页>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>
边栏推荐
- Ali onedate's layered thought
- Providers and consumers tags in zfoo
- MySQL如何对SQL做prepare预处理(解决IN查询SQL预处理仅能查询出一条记录的问题)
- [complex overloaded operator]
- Altium designer—Arduino UNO原理图&PCB图(自制Arduino板)
- University database creation and query practice -- database table design
- pulsar开源消息队列_了解Pulsar---Pulsar工作笔记001
- Machine learning exercises -- right rate regression
- Sixty final review questions of software architecture
- JS object array de duplication
猜你喜欢

为了一劳永逸而写的数独

机器学习习题——对率回归

Compare kernelshap and treeshap based on speed, complexity and other factors

I, AI doctoral student, online crowdfunding research topic

ADB 命令结合 monkey 的简单使用,超详细

Storage structure and management disk. It's a bit like installing Win98. You need to partition and format the hard disk first

MySQL的JDBC編程

Leetcode high frequency question 53. maximum subarray sum, continuous subarray with maximum sum, return its maximum sum

大淘营批量采集商品,如何将未上传的宝贝保存下来等后面再导入采集上传

U++ 事件
随机推荐
【golang学习笔记】并发基础
开源分布式链路追踪对比
02.网页结构相关知识补充
Taobao assistant is disabled. What is the reason for using the big Taoying import data package to upload the baby prompt "the main image is required and cannot be empty"? How to solve it?
How to implement desktop lyrics in pyqt
experimental design
【学习笔记】树的直径,重心
Uniapp uses canvas to write a circular progress bar
Practice data Lake iceberg lesson 37 kakfa write the enfour, not enfour test of iceberg's icberg table
lambda学习(sort后面的Comparator的使用,collection后使用Collectors.groupingBy分组)
STM32+ESP8266+MQTT协议连接阿里云物联网平台
DBSCAN点云聚类
Construction and application progress of ten billion level knowledge map of meituan brain
Bisection function details
Mqtt connection, subscription and publishing can be realized without mqtt C library
Explain NAT technology in detail
Several methods of obtaining longitude and latitude by cesium
Taoying collects goods in batches. How to save the babies that have not been uploaded and then import them later
Detailed explanation of cesium events (mouse events, camera events, keyboard events, scene trigger events)
What is Kai Niu? Excuse me, is it safe to open a stock account by mobile phone?