Fix: Should return rowSize instead of 7

This commit is contained in:
winkidney
2019-03-01 17:29:44 +08:00
committed by Isaac Bythewood
parent f2fd4f3095
commit 2010224599

View File

@@ -99,7 +99,7 @@ Vue.component('pin', {
index = index + 1;
var rowNumber = Math.floor(index % rowSize);
if (rowNumber === 0) {
return 7;
return rowSize;
}
return rowNumber;
}