diff --git a/src/components/EditableLinkGroup/index.js b/src/components/EditableLinkGroup/index.js index c1876ab5e611563de9da6b341af261cc1e13ec6a..ba99796475e4363ae8f29aeff9e0a87d9d3f9ae2 100644 --- a/src/components/EditableLinkGroup/index.js +++ b/src/components/EditableLinkGroup/index.js @@ -1,6 +1,6 @@ import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; -import { Link } from 'dva/router'; +import { Link } from 'react-router'; import { Button, Icon } from 'antd'; import styles from './index.less'; diff --git a/src/components/Exception/index.js b/src/components/Exception/index.js index 96ff430b73acc03884cef53a7d5f71119adcffc3..d6d847b96ebf7483a3e36bb035df56e30673dfa4 100644 --- a/src/components/Exception/index.js +++ b/src/components/Exception/index.js @@ -1,7 +1,7 @@ import React from 'react'; import classNames from 'classnames'; import { Button } from 'antd'; -import { Link } from 'dva/router'; +import { Link } from 'react-router'; import config from './typeConfig'; import styles from './index.less'; diff --git a/src/components/PageHeader/index.js b/src/components/PageHeader/index.js index 035c7e50036e1212034f78c1241feebf7c8bfe3d..97ea900dcd2f455fea46a4a1cf9556f497f56f2f 100644 --- a/src/components/PageHeader/index.js +++ b/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 'dva/router'; +import { Link } from 'react-router'; import classNames from 'classnames'; import styles from './index.less';