修复bug
This commit is contained in:
parent
43c45b684f
commit
704631f203
|
@ -58,7 +58,8 @@ export default function Test1() {
|
|||
const partIndex = index % 6 ? index % 6 : 6;
|
||||
let part;
|
||||
let partOptionsNum;
|
||||
const partNum = Math.trunc(index / 6);
|
||||
const partNum = Math.trunc((index - 1) / 6);
|
||||
console.log(partNum);
|
||||
switch (partNum) {
|
||||
case 0:
|
||||
part = "A";
|
||||
|
|
Loading…
Reference in New Issue