Skip to content

Commit

Permalink
fix(module:grid): fix when input item more than 13 would trigger bug (N…
Browse files Browse the repository at this point in the history
  • Loading branch information
Guoyuanqiang authored and fisherspy committed Nov 26, 2018
1 parent 5361536 commit 34e1dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/grid/grid.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class GridComponent implements OnInit {
const columnNum = this.columnNum;
const rowArr = new Array();
for (let i = 0; i < rowCount; i++) {
rowArr[i] = new Array(i);
rowArr[i] = new Array();
for (let j = 0; j < columnNum; j++) {
const dataIndex = i * columnNum + j;
if (dataIndex < dataLength) {
Expand Down

0 comments on commit 34e1dd7

Please sign in to comment.