Commit 2f8b6c3d authored by nikogu's avatar nikogu

revert to dva/router ....

parent a957bffb
......@@ -101,7 +101,7 @@ class Pie extends Component {
let m = margin;
if (!margin) {
if (hasLegend) {
m = [24, 240, 24, 0];
m = [24, 240, 24, 8];
} else if (percent) {
m = [0, 0, 0, 0];
} else {
......
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router';
import { Link } from 'dva/router';
import { Button, Icon } from 'antd';
import styles from './index.less';
......
import React from 'react';
import classNames from 'classnames';
import { Button } from 'antd';
import { Link } from 'react-router';
import { Link } from 'dva/router';
import config from './typeConfig';
import styles from './index.less';
......
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { Breadcrumb, Tabs } from 'antd';
import { Link } from 'react-router';
import { Link } from 'dva/router';
import classNames from 'classnames';
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