Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules1/@antv/util/lib/unique-id.js
T
2026-09-10 15:40:10 +08:00

14 lines
330 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var map = {};
exports.default = (function (prefix) {
prefix = prefix || 'g';
if (!map[prefix]) {
map[prefix] = 1;
}
else {
map[prefix] += 1;
}
return prefix + map[prefix];
});
//# sourceMappingURL=unique-id.js.map