html部分
<el-select style="width: 200px;margin-left:5px;" v-model="queryType" slot="prepend" class="filter-item" @change="changepara">
<el-option v-for="(item,index) in chooseList"
:key="index"
:value="item.value"
:label="item.label"></el-option>
</el-select>
添加选项,chooseList:[{value:‘1’,label:‘1’},{value:‘2’,label:‘2’}]可替代为
<el-select style="width: 120px" v-model="queryType" slot="prepend" class="filter-item" @change="changepara">
<el-option value="1" label="1"></el-option>
<el-option value="2" label="2"></el-option>
</el-select>
提供