src/components/makepager/TableCommonView.vue
@@ -11,6 +11,8 @@ :summary-method="getSummaries" :span-method="arraySpanMethod" @selection-change="handleSelectionChange" highlight-current-row @row-click="tableRowClick" :header-cell-style="{ background: '#ECF4FF', color: '#666' }" > <el-table-column v-if="tableList.selectBox" type="selection" width="40"> </el-table-column> @@ -128,7 +130,12 @@ return {} }, computed: {}, mounted() {}, methods: { tableRowClick(row) { console.log(row) this.$emit("tableRowClick", row) }, handleReserve(row) { return row._id ? row._id : row.id },