diff --git a/package.json b/package.json index 1b59d839b58453d006fa5461522d9e858d8b6ee7..3c01e941029535e9b1049746c6c36b99bcba235b 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ }, "dependencies": { "@antv/data-set": "^0.9.0", - "@babel/polyfill": "^7.0.0-beta.36", "antd": "^3.8.2", "bizcharts": "^3.1.10", "bizcharts-plugin-slider": "^2.0.3", diff --git a/src/pages/List/List.js b/src/pages/List/List.js index 5e8707559205941a5db14fc9b1a669f734bb4286..3c7aa9ee1509bae9e7ad90c9b80581ce1c1f552b 100644 --- a/src/pages/List/List.js +++ b/src/pages/List/List.js @@ -9,14 +9,14 @@ export default class SearchList extends Component { handleTabChange = key => { const { dispatch, match } = this.props; switch (key) { - case 'Articles': - dispatch(routerRedux.push(`${match.url}/Articles`)); + case 'articles': + dispatch(routerRedux.push(`${match.url}/articles`)); break; - case 'Applications': - dispatch(routerRedux.push(`${match.url}/Applications`)); + case 'applications': + dispatch(routerRedux.push(`${match.url}/applications`)); break; - case 'Projects': - dispatch(routerRedux.push(`${match.url}/Projects`)); + case 'projects': + dispatch(routerRedux.push(`${match.url}/projects`)); break; default: break; @@ -26,7 +26,7 @@ export default class SearchList extends Component { render() { const tabList = [ { - key: 'Articles', + key: 'articles', tab: '文章', }, {