闫增涛
2024-03-06 3d78ac0ece15f043390a351c70e99b287d0c42e1
1
2
3
4
5
6
7
import { genGood } from './good';
 
export function getGoodsList(baseID = 0, length = 10) {
  return new Array(length).fill(0).map((_, idx) => genGood(idx + baseID));
}
 
export const goodsList = getGoodsList();