From 63bf535477c7dd4222de16331975e05955b13226 Mon Sep 17 00:00:00 2001 From: kasmine <736929286@qq.com> Date: Tue, 29 Dec 2020 16:18:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20lint=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plots/area/utils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plots/area/utils.ts b/src/plots/area/utils.ts index cf487a4909..41f812dc42 100644 --- a/src/plots/area/utils.ts +++ b/src/plots/area/utils.ts @@ -1,5 +1,4 @@ import { percent } from '../../utils/transform/percent'; -import { AreaOptions } from './types'; /** * 获取面积图数据,如果是百分比,进行数据转换 @@ -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); }