This commit is contained in:
康冉冉
2025-11-11 18:58:05 +08:00
parent ee1b503927
commit a5186543d3
-21
View File
@@ -34,7 +34,6 @@
<i class="el-icon-question"></i> <i class="el-icon-question"></i>
</el-tooltip> </el-tooltip>
</template> </template>
<!-- 单元格内容自定义tooltip支持换行 --> <!-- 单元格内容自定义tooltip支持换行 -->
<template #default="scope"> <template #default="scope">
<!-- 1. 有自定义插槽时插槽内容仍用原逻辑但包裹tooltip --> <!-- 1. 有自定义插槽时插槽内容仍用原逻辑但包裹tooltip -->
@@ -69,26 +68,6 @@
</el-tooltip> </el-tooltip>
</template> </template>
</template> </template>
<!-- &lt;!&ndash; 插槽 自定义列表表头数据格式 &ndash;&gt;-->
<!-- <template #header v-if="column && column.slotHeaderName">-->
<!-- <span>{{column.label}}</span>-->
<!-- <el-tooltip trigger="click" effect="dark" placement="top">-->
<!-- <template #content>{{column.slotHeaderName}}</template>-->
<!-- <i class="el-icon-question"></i>-->
<!-- </el-tooltip>-->
<!-- </template>-->
<!-- &lt;!&ndash; 插槽 自定义列表内数据格式 &ndash;&gt;-->
<!-- <template #default="scope" v-if="column && column.slotName">-->
<!-- &lt;!&ndash; 传递行数据行索引等信息到父组件的插槽 &ndash;&gt;-->
<!-- <slot-->
<!-- :name="column.slotName"-->
<!-- :valueKey="key"-->
<!-- :row="scope.row"-->
<!-- :rowIndex="scope.$index"-->
<!-- :column="column"-->
<!-- :scope="scope"-->
<!-- ></slot>-->
<!-- </template>-->
</el-table-column> </el-table-column>
</template> </template>
<!-- 表格行内按钮 --> <!-- 表格行内按钮 -->