00005-js 获取uuid
2021-02-20 19:19
阅读:674
标签:dom 获取 substr str string ring cti gui admin 00005-js 获取uuid 标签:dom 获取 substr str string ring cti gui admin 原文地址:https://blog.51cto.com/14816966/2496414admin.guid = function () {
function S4() {
return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
}
return (S4()+S4()+"-"+S4()+"-"+S4()+"-"+S4()+"-"+S4()+S4()+S4());
}
评论
亲,登录后才可以留言!