From a30e058e40452f5a1253a31b5ac6b94316aed065 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 25 Oct 2017 10:58:54 +0800 Subject: [PATCH] update detail --- src/components/Charts/Pie/index.js | 3 ++- src/components/Charts/Pie/index.less | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Charts/Pie/index.js b/src/components/Charts/Pie/index.js index 0ee32fed..36243fdc 100644 --- a/src/components/Charts/Pie/index.js +++ b/src/components/Charts/Pie/index.js @@ -1,5 +1,6 @@ import React, { Component } from 'react'; import G2 from 'g2'; +import { Divider } from 'antd'; import equal from '../equal'; import styles from './index.less'; @@ -223,7 +224,7 @@ class Pie extends Component {
  • this.handleLegendClick(item, i)}> {item.x} - + {`${(item['..percent'] * 100).toFixed(2)}%`}