@vuemap/vue-amap
Version:
高德地图vue3版本封装
17 lines (13 loc) • 370 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
function guid() {
const s = [];
const hexDigits = "0123456789abcdef";
for (let i = 0; i < 36; i++) {
s[i] = hexDigits.charAt(Math.floor(Math.random() * 16));
}
s[8] = s[13] = s[18] = s[23] = "-";
return s.join("");
}
exports.default = guid;
//# sourceMappingURL=guid.js.map