<template>
<Select v-model="model1" style="width:200px">
<Option ref="selectType" v-for="item in cityList" :value="item.value" :key="item">{{ item.label }}
</Option>
</Select>
</template>
// 在操作数据的按钮点击后执行此方法
this.$refs.selectType.query = ''
Select下拉框只显示上次选中的值
最新推荐文章于 2022-03-25 17:25:36 发布