|
|
@@ -4,7 +4,7 @@
|
|
|
<div class="table-title-btn">
|
|
|
<slot name="table-title-btn"></slot>
|
|
|
</div>
|
|
|
- <el-table ref="multipleTableRef"
|
|
|
+ <el-table ref="multipleTableRef" row-key="id"
|
|
|
:header-cell-style="{ 'background-color': '#F7F7F9', 'border-bottom': '1px solid #EEF1F6', 'font-size': '15px', 'color': '#333', 'padding': '10px 0' }"
|
|
|
:data="props.tableData" :height="tableHeight" :max-height="maxHeight" table-layout="fixed" style="width: 100%;"
|
|
|
@selection-change="selectionChange" @select-all="selectAllChange" @cell-mouse-enter="handleMouseEnter"
|
|
|
@@ -17,7 +17,7 @@
|
|
|
<span style="font-size: 14px;color: #909399;">暂无数据</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-table-column type="selection" v-if="showSelect" :selectable="selectable" width="55" fixed="left" />
|
|
|
+ <el-table-column type="selection" v-if="showSelect" reserve-selection :selectable="selectable" width="55" fixed="left" />
|
|
|
<el-table-column type="expand" v-if="secondaryTable">
|
|
|
<template #default="props">
|
|
|
<div>
|