<!--下拉框组件-->
<template>
<div class="Common-Select">
<el-select
v-model="selectValue"
multiple
collapse-tags
filterable
:popper-class="showPadding ? 'showPadding' :''"
:placeholder="placeholder">
<el-option v-show="valueType === 1"
v-for="item in selectData"
:key="item.researcherCode"
:label="item.researcherName"
:value="item.researcherCode">
</el-option>
<el-option v-show="valueType === 2"
v-for="item in selectData"
:key="item.typeCode"
:label="item.typeName"
:value="item.typeCode">
</el-optio
基于elementui实现公共下拉框组件,全选及取消
最新推荐文章于 2024-06-02 16:44:27 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)