Files
pig-farm-controller-fe/node_modules/element-plus/es/utils/rand.mjs
2025-09-19 14:25:20 +08:00

6 lines
205 B
JavaScript

const generateId = () => Math.floor(Math.random() * 1e4);
const getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));
export { generateId, getRandomInt };
//# sourceMappingURL=rand.mjs.map