From 2c7a6f674bb5e938d656a4a62637a4aaf8226c6c Mon Sep 17 00:00:00 2001 From: zer0Black Date: Fri, 16 Apr 2021 11:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=8F=92?= =?UTF-8?q?=E6=A7=BD=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86=EF=BC=8C=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E6=AD=A4=E5=89=8D=E7=9A=84=E6=8F=92=E6=A7=BD=E6=94=B6?= =?UTF-8?q?=E9=9B=86=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/jero/JTable.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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)) }, },