Bootstrap

vue element UI el-select选择框触发事件(每选择一次则触发一次该事件)

<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>

 

;