From 85b880cfe6a31f2f9739af6aaa57c99edcb7ef52 Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Wed, 25 Oct 2017 11:05:34 +0800 Subject: [PATCH] change components Link from dva/router to react-router --- src/components/EditableLinkGroup/index.js | 2 +- src/components/Exception/index.js | 2 +- src/components/PageHeader/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/EditableLinkGroup/index.js b/src/components/EditableLinkGroup/index.js index c1876ab5..ba997964 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 96ff430b..d6d847b9 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 035c7e50..97ea900d 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'; -- GitLab