now there is such a scenario:
the select component of elementui is encapsulated. How to inherit all the properties of the select component of elementui, (Attributes), event (event), and even slots
in the encapsulated component?template:
<template>
<div>
<el-select class="" v-model="_value" :placeholder="_placeholder">
<el-option v-for="item in _items" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
</div>
</template>
<script>
export default {
name: "combo-box",
data() {
return {
_value: "",
_items: "",
_placeholder: ""
};
},
computed: {},
watch: {
},
props: {
},
mounted() {
},
methods: {
}
};
</script>
<style scoped>
</style>