<template>
<div class="content">
<el-select
size="small"
v-model="choose"
placeholder="请输入搜索内容"
clearable
v-el-select-loadmore:rangeNumber="loadMore(rangeNumber)"
>
<el-option
v-for="(item, index) in list.slice(0, rangeNumber)"
:key="index"
:label="item.label"
:value="item.value"
></el-option>
</el-select>
</div>
</template>
<script>
export default {
data() {
return {
list: [],//展示在下拉框内的数据
choose: "",
rangeNumber: 20
}
},