修复 autoCombineCount 配置比实际 columns 多时的报错
This commit is contained in:
parent
f7b3c30259
commit
59c09ca3c4
|
@ -427,6 +427,11 @@ export const TableStore = iRendererStore
|
|||
for (let i = 0; i < maxCount; i++) {
|
||||
const column = columns[i];
|
||||
|
||||
// maxCount 可能比实际配置的 columns 还有多。
|
||||
if (!column) {
|
||||
break;
|
||||
}
|
||||
|
||||
if ('__' === column.type.substring(0, 2)) {
|
||||
maxCount++;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue