master
黄欣 4 years ago
parent ffdb9c918c
commit 2aeda5890d

@ -397,7 +397,7 @@ export default {
}) })
for (let i = columnValue.length - 1; i >= 0; i--) { for (let i = columnValue.length - 1; i >= 0; i--) {
const element = columnValue[i] const element = columnValue[i]
if (element.rowTotal === '0.00%' || element.rowTotal === 0) { if (parseFloat(element.rowTotal) === 0) {
for (let j = this.mergeCells.length - 1; j >= 0; j--) { for (let j = this.mergeCells.length - 1; j >= 0; j--) {
if (this.mergeCells[j].row > i) { if (this.mergeCells[j].row > i) {
this.mergeCells[j].row -= 1 this.mergeCells[j].row -= 1

Loading…
Cancel
Save