Kaynağa Gözat

fix error prop

ddcat1115 8 yıl önce
ebeveyn
işleme
b97547efde
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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>