摘要: 方法一: Math.random().toString(36).slice(-8) Math.random() // 生成随机数字, eg: 0.123456 .toString(36) // 转化成36进制 : "0.4fzyo82mvyr" .slice(-8);// 截取最后八位 : "yo8 阅读全文
posted @ 2020-07-21 10:45 chen斌 阅读(556) 评论(0) 推荐(0) 编辑