Skip to content

Commit

Permalink
fix: 回参计算
Browse files Browse the repository at this point in the history
  • Loading branch information
yxh01132861 committed Oct 8, 2023
1 parent e847ec7 commit 67f64da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const transformToLayer = (val: CustomItemType) => {
for (let i = 0; i < list.length; i++) {
const item = list[i].value;
item.forEach((_item: string | number, index: number) => {
return _val.splice(i + index * 2, 0, _item);
return _val.splice(i + index * colors.length, 0, _item);
});
}

Expand Down

0 comments on commit 67f64da

Please sign in to comment.