公告板
版本库
filestore
活动
搜索
登录
web
/
smart_community
重庆项目
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix: 项目基本框架
zhangxiao
2024-08-20
e47b788ff5f5c699c682999c95da17eb284ca21d
[web/smart_community.git]
/
src
/
utils
/
tools
/
nanoid
/
index.ts
1
2
3
4
5
6
import { customAlphabet } from "nanoid/non-secure";
const genrateNanoid = (): string => {
return customAlphabet("ABCDEFGabcdefgHIJKLMNhijklmnOPQRSTUopqrstuVWXYZvwxyz", 10)(20);
};
export default genrateNanoid;