Commit 2f8b6c3d authored by nikogu's avatar nikogu

revert to dva/router ....

parent a957bffb
...@@ -101,7 +101,7 @@ class Pie extends Component { ...@@ -101,7 +101,7 @@ class Pie extends Component {
let m = margin; let m = margin;
if (!margin) { if (!margin) {
if (hasLegend) { if (hasLegend) {
m = [24, 240, 24, 0]; m = [24, 240, 24, 8];
} else if (percent) { } else if (percent) {
m = [0, 0, 0, 0]; m = [0, 0, 0, 0];
} else { } else {
......
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { Link } from 'react-router'; import { Link } from 'dva/router';
import { Button, Icon } from 'antd'; import { Button, Icon } from 'antd';
import styles from './index.less'; import styles from './index.less';
......
import React from 'react'; import React from 'react';
import classNames from 'classnames'; import classNames from 'classnames';
import { Button } from 'antd'; import { Button } from 'antd';
import { Link } from 'react-router'; import { Link } from 'dva/router';
import config from './typeConfig'; import config from './typeConfig';
import styles from './index.less'; import styles from './index.less';
......
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { Breadcrumb, Tabs } from 'antd'; import { Breadcrumb, Tabs } from 'antd';
import { Link } from 'react-router'; import { Link } from 'dva/router';
import classNames from 'classnames'; import classNames from 'classnames';
import styles from './index.less'; import styles from './index.less';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment