Browse Source

fix error prop

ddcat1115 8 years ago
parent
commit
b97547efde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/routes/List/List.js

+ 1 - 1
src/routes/List/List.js

@@ -56,7 +56,7 @@ export default class SearchList extends Component {
         title="搜索列表"
         content={mainSearch}
         tabList={tabList}
-        activeTabKey={location.pathname.replace(`${match.path}/`, '')}
+        tabActiveKey={location.pathname.replace(`${match.path}/`, '')}
         onTabChange={this.handleTabChange}
       >
         <Switch>