diff --git a/bi/base.js b/bi/base.js index 9e9bbe813c..7e2f494d72 100644 --- a/bi/base.js +++ b/bi/base.js @@ -31366,8 +31366,8 @@ BI.Table = BI.inherit(BI.Widget, { var isNeedMergeCol = o.mergeRule(map[i][j], map[i][j - 1]); if (isNeedMergeCol === true) { mergeCol(i, j); - preCol[j] = preRow[j - 1]; - preCW[j] = preRW[j - 1]; + preCol[j] = preRow[i]; + preCW[j] = preRW[i]; } else { createOneEl(i, j); } diff --git a/docs/base.js b/docs/base.js index 9e9bbe813c..7e2f494d72 100644 --- a/docs/base.js +++ b/docs/base.js @@ -31366,8 +31366,8 @@ BI.Table = BI.inherit(BI.Widget, { var isNeedMergeCol = o.mergeRule(map[i][j], map[i][j - 1]); if (isNeedMergeCol === true) { mergeCol(i, j); - preCol[j] = preRow[j - 1]; - preCW[j] = preRW[j - 1]; + preCol[j] = preRow[i]; + preCW[j] = preRW[i]; } else { createOneEl(i, j); } diff --git a/src/base/table/table.js b/src/base/table/table.js index d112163b86..ed638eb058 100644 --- a/src/base/table/table.js +++ b/src/base/table/table.js @@ -418,8 +418,8 @@ BI.Table = BI.inherit(BI.Widget, { var isNeedMergeCol = o.mergeRule(map[i][j], map[i][j - 1]); if (isNeedMergeCol === true) { mergeCol(i, j); - preCol[j] = preRow[j - 1]; - preCW[j] = preRW[j - 1]; + preCol[j] = preRow[i]; + preCW[j] = preRW[i]; } else { createOneEl(i, j); }