Parcourir la source

fix error prop

ddcat1115 il y a 8 ans
Parent
commit
b97547efde
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>