vue中当传入一个组件的数据类型为对象或数组时,当不传入该值的报错问题

这是我自定义的TableColumn.vue组件代码:vue <template> <el-table-column :prop="prop" :label="label"> <template slot-scope="scope"> <el-select v-model="scope.row[prop]" v-if="type==='select'">
相关文章
相关标签/搜索