update package/component/src/component/table/TableRow.vue.

Signed-off-by: YJXS <353667349@qq.com>
This commit is contained in:
YJXS 2022-10-22 06:19:34 +00:00 committed by Gitee
parent dec22cebe9
commit 7912d21901
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -512,12 +512,12 @@ const radioProps = props.getRadioProps(props.data, props.index);
></lay-icon>
<lay-tooltip v-if="column.ellipsisTooltip" :isAutoShow="true">
<slot :name="column.customSlot" :data="data"></slot>
<slot :name="column.customSlot" :data="data" :column="column"></slot>
<template #content>
<slot :name="column.customSlot" :data="data"></slot>
<slot :name="column.customSlot" :data="data" :column="column"></slot>
</template>
</lay-tooltip>
<slot v-else :name="column.customSlot" :data="data"></slot>
<slot v-else :name="column.customSlot" :data="data" :column="column"></slot>
</td>
</template>