【修改】插槽问题处理,去除此前的插槽收集方法
This commit is contained in:
@@ -166,17 +166,8 @@ export default {
|
||||
return false
|
||||
}
|
||||
},
|
||||
slots() {
|
||||
let slots = []
|
||||
for (let column of this.columns) {
|
||||
if (column.scopedSlots && column.scopedSlots.customRender) {
|
||||
slots.push(column.scopedSlots.customRender)
|
||||
}
|
||||
}
|
||||
return slots
|
||||
},
|
||||
// 获取插槽信息
|
||||
scopedSlotsKeys() {
|
||||
debugger
|
||||
return Object.keys(this.$scopedSlots).filter(key => !this.usedSlots.includes(key))
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user