This repository was archived by the owner on Aug 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
packages/ui/xconsole-rc-base-link Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @alicloud/xconsole-rc-base-link" ,
3
- "version" : " 2.4.4 " ,
3
+ "version" : " 2.4.5 " ,
4
4
"description" : " " ,
5
5
"main" : " lib/index.js" ,
6
6
"license" : " MIT" ,
34
34
"lodash" : " ^4.17.10" ,
35
35
"prop-types" : " ^15.x" ,
36
36
"react" : " ^16.x" ,
37
- "react-dom" : " ^16.x"
37
+ "react-dom" : " ^16.x" ,
38
+ "react-router-dom" : " ^5.1.2"
38
39
},
39
40
"devDependencies" : {
40
41
"@alicloud/console-components" : " ^1.0.20" ,
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react'
2
2
import PropTypes from 'prop-types'
3
- import { Link as RouteLink } from 'dva/ router'
3
+ import { Link as RouteLink } from 'react- router-dom '
4
4
import isFunction from 'lodash/isFunction'
5
5
import isBoolean from 'lodash/isBoolean'
6
6
import classNames from 'classnames'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import compose from 'recompose/compose'
3
3
import branch from 'recompose/branch'
4
4
import withProps from 'recompose/withProps'
5
5
import mapProps from 'recompose/mapProps'
6
- import { withRouter } from 'dva/ router'
6
+ import { withRouter } from 'react- router-dom '
7
7
8
8
const transRelativeUrl = withProps ( ( props ) => {
9
9
const { to, location } = props
You can’t perform that action at this time.
0 commit comments