fix(progress): remove unused log

This commit is contained in:
unix
2020-03-25 02:42:19 +08:00
parent 9d3e3750d1
commit 4a47b0c770

View File

@@ -47,7 +47,6 @@ const getCurrentColor = (
if (colorKeys.length === 0) return defaultColors[type]
const customColorKey = colorKeys.find(key => ratio <= +key)
console.log(customColorKey)
if (!customColorKey || Number.isNaN(+customColorKey)) return defaultColors[type]
return colors[+customColorKey]
}