src/components/makepager/TableCommonView.vue
@@ -118,7 +118,8 @@ return { show: false, sumProp: [], mergeNumber: 1 mergeNumber: 1, totalName:'本页总计' } } } @@ -159,7 +160,7 @@ const sums = [] columns.forEach((column, index) => { if (index === this.showSummary.mergeNumber) { sums[index] = "本页总计" sums[index] = this.showSummary.totalName } const values = data.map((item) => Number(item[column.property])) if (this.showSummary.sumProp.includes(column.property)) {