chore:去掉没用的注释

This commit is contained in:
maninhill 2023-12-20 09:23:06 +08:00 committed by GitHub
parent fc6917efee
commit 5a48eb439a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,17 +165,6 @@ export function getColors(chart, colors, reset) {
} else {
if (chart.data) {
const data = chart.data.data
// data 的维度值需要根据自定义顺序排序
// let customSortData
// if (Object.prototype.toString.call(chart.customSort) === '[object Array]') {
// customSortData = JSON.parse(JSON.stringify(chart.customSort))
// } else {
// customSortData = JSON.parse(chart.customSort)
// }
// if (customSortData && customSortData.length > 0) {
// data = customSort(customSortData, data)
// }
for (let i = 0; i < data.length; i++) {
const s = data[i]
seriesColors.push({