GasWell-front/node_modules/element-plus/lib/utils/rand.js

11 lines
316 B
JavaScript
Raw Normal View History

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
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