Skip to content

Commit

Permalink
fix: 修复 lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Dec 29, 2020
1 parent 4aa0ee6 commit 63bf535
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/plots/area/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { percent } from '../../utils/transform/percent';
import { AreaOptions } from './types';

/**
* 获取面积图数据,如果是百分比,进行数据转换
Expand All @@ -12,6 +11,5 @@ export function getAreaData(
asField: string,
isPercent?: boolean
) {
// const { data, isPercent, xField, yField } = options;
return !isPercent ? data : percent(data, yField, groupField, asField);
}

0 comments on commit 63bf535

Please sign in to comment.