diff --git a/components/breadcrumb/demo/router.md b/components/breadcrumb/demo/router.md
index 89d2d3c4e4..cc81ea653f 100644
--- a/components/breadcrumb/demo/router.md
+++ b/components/breadcrumb/demo/router.md
@@ -35,7 +35,7 @@ var App = React.createClass({
首页
应用列表
-
+
);
}
diff --git a/components/breadcrumb/index.jsx b/components/breadcrumb/index.jsx
index 87fc06337c..1ae4ef9dcf 100644
--- a/components/breadcrumb/index.jsx
+++ b/components/breadcrumb/index.jsx
@@ -1,9 +1,6 @@
'use strict';
import React from 'react';
-import Router from 'react-router';
-
-let Link = Router.Link;
let prefixCls = 'ant-breadcrumb';
@@ -24,7 +21,8 @@ let Breadcrumb = React.createClass({
},
render() {
var crumbs, routes, params;
- if (this.context.router) {
+ if (this.context.router && this.props.Router) {
+ var Link = this.props.Router.Link;
routes = this.context.router.getCurrentRoutes();
params = this.context.router.getCurrentParams();
crumbs = routes.map(function(route, i) {