diff --git a/es/table/index.js b/es/table/index.js index a58c295..d9ccc75 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -412,6 +412,7 @@ const _sfc_main$2 = defineComponent({ default: withCtx(() => [ renderSlot(_ctx.$slots, column.customSlot, { data: __props.data, + index: props.index, column }) ]), diff --git a/lib/index.js b/lib/index.js index e9a4e5f..438d5c3 100644 --- a/lib/index.js +++ b/lib/index.js @@ -18466,6 +18466,7 @@ const _sfc_main$G = defineComponent({ default: withCtx(() => [ renderSlot(_ctx.$slots, column.customSlot, { data: __props.data, + index: props.index, column }) ]), diff --git a/src/component/table/TableRow.vue b/src/component/table/TableRow.vue index e2ab0b9..4d6c622 100644 --- a/src/component/table/TableRow.vue +++ b/src/component/table/TableRow.vue @@ -515,6 +515,7 @@ const radioProps = props.getRadioProps(props.data, props.index);