huangye-parking/admin/node_modules/element-plus/lib/utils/rand.js
2026-02-28 17:35:49 +08:00

9 lines
252 B
JavaScript

'use strict';
const generateId = () => Math.floor(Math.random() * 1e4);
const getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));
exports.generateId = generateId;
exports.getRandomInt = getRandomInt;
//# sourceMappingURL=rand.js.map