修改列表列宽

This commit is contained in:
康冉冉
2025-11-11 18:44:01 +08:00
parent 9c73c34f43
commit 792563c82c
11 changed files with 92 additions and 77 deletions
+21 -1
View File
@@ -69,8 +69,28 @@
</el-tooltip>
</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>
</template>
</template>
<!-- 表格行内按钮 -->
<el-table-column v-if="config && config.tableButton && config.tableButton.line" :width="config.tableButton.line.length * 70 + `px`" label="操作" fixed="right" align="center" class-name="small-padding fixed-width">
<template #default="scope">