...
This commit is contained in:
@@ -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>
|
||||||
<!-- <!– 插槽 自定义列表表头数据格式 –>-->
|
|
||||||
<!-- <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>-->
|
|
||||||
<!-- <!– 插槽 自定义列表内数据格式 –>-->
|
|
||||||
<!-- <template #default="scope" v-if="column && column.slotName">-->
|
|
||||||
<!-- <!– 传递行数据、行索引等信息到父组件的插槽 –>-->
|
|
||||||
<!-- <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>
|
||||||
<!-- 表格行内按钮 -->
|
<!-- 表格行内按钮 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user