<el-select v-model="selectData.id"
@change="selectTrigger(selectData.id)">
<el-option label="请选择" value=""></el-option>
<el-option
v-for="item in formInline.equipmentNumArr"
:key="item.id"
:label="item.id"
:value="item.id">
</el-option>
</el-select>
<script>
data () {
formInline: {
equipmentNumArr:[]
}
selectData: {
id:''
}
},
methods: {
selectTrigger(val) {
}
}
</script>
版权声明:本文为weixin_40841731原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。