forked from github/dataease
chore:去掉没用的注释
This commit is contained in:
parent
fc6917efee
commit
5a48eb439a
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user