Merge branch 'dev-3.6' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.7

This commit is contained in:
zhangyu
2023-03-06 16:17:13 +08:00
7 changed files with 19 additions and 6 deletions

View File

@@ -16,6 +16,10 @@ export function getUUID () {
return (S4() + S4() + '-' + S4() + '-' + S4() + '-' + S4() + '-' + S4() + S4() + S4())
}
export function s8 () {
return (((1 + Math.random()) * 0x100000000) | 0).toString(16).substring(1)
}
export const chartCache = {}
export function getChart (key) {