style: eslint

This commit is contained in:
就眠儀式
2022-03-26 10:30:58 +08:00
parent 5fc3cf9731
commit ab6cc17281
7 changed files with 88 additions and 36 deletions

View File

@@ -1,17 +1,2 @@
/**
* 随机数
* <p>
* @param null 无参
* */
export function S4() {
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
}
/**
* 随机数
* <p>
* @param null 无参
* */
export function guid() {
return S4() + S4() + S4() + S4() + S4() + S4() + S4() + S4();
}
// @ts-ignore
export { v4 } from 'uuid';