NEZ-2635 fix: 创建Metrics的chart时设置Thresholds选择颜色有误

This commit is contained in:
zhangyu
2023-03-06 16:04:52 +08:00
parent 66c8991149
commit 68d602385b
5 changed files with 15 additions and 5 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) {