diff --git a/jero-web/src/components/jero/JTable.vue b/jero-web/src/components/jero/JTable.vue index ab7ffaf7..24a7e36b 100644 --- a/jero-web/src/components/jero/JTable.vue +++ b/jero-web/src/components/jero/JTable.vue @@ -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)) }, },