Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit fb241a2

Browse files
committed
chore: remove dva in rc-base-link
1 parent b021f9d commit fb241a2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

‎packages/ui/xconsole-rc-base-link/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/xconsole-rc-base-link",
3-
"version": "2.4.4",
3+
"version": "2.4.5",
44
"description": "",
55
"main": "lib/index.js",
66
"license": "MIT",
@@ -34,7 +34,8 @@
3434
"lodash": "^4.17.10",
3535
"prop-types": "^15.x",
3636
"react": "^16.x",
37-
"react-dom": "^16.x"
37+
"react-dom": "^16.x",
38+
"react-router-dom": "^5.1.2"
3839
},
3940
"devDependencies": {
4041
"@alicloud/console-components": "^1.0.20",

‎packages/ui/xconsole-rc-base-link/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { Component } from 'react'
22
import PropTypes from 'prop-types'
3-
import { Link as RouteLink } from 'dva/router'
3+
import { Link as RouteLink } from 'react-router-dom'
44
import isFunction from 'lodash/isFunction'
55
import isBoolean from 'lodash/isBoolean'
66
import classNames from 'classnames'

‎packages/ui/xconsole-rc-base-link/src/relative.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import compose from 'recompose/compose'
33
import branch from 'recompose/branch'
44
import withProps from 'recompose/withProps'
55
import mapProps from 'recompose/mapProps'
6-
import { withRouter } from 'dva/router'
6+
import { withRouter } from 'react-router-dom'
77

88
const transRelativeUrl = withProps((props) => {
99
const { to, location } = props

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /