yiming
2024-03-13 f9d4b09377c5471e1202be2fef2c89de27b6654d
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();