nikogu пре 8 година
родитељ
комит
2f8b6c3d45

+ 1 - 1
src/components/Charts/Pie/index.js

@@ -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 {

+ 1 - 1
src/components/EditableLinkGroup/index.js

@@ -1,6 +1,6 @@
 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';
 

+ 1 - 1
src/components/Exception/index.js

@@ -1,7 +1,7 @@
 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';
 

+ 1 - 1
src/components/PageHeader/index.js

@@ -1,7 +1,7 @@
 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';