diff --git a/package.json b/package.json index 93ec541..f5f14ff 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "js-cookie": "^2.1.3", "qs": "^6.2.0", "react": "^15.4.1", - "react-countup": "^1.3.0", + "react-countup": "1.3.0", "react-dom": "^15.4.1", "recharts": "^0.19.0" }, diff --git a/src/components/layout/menu.js b/src/components/layout/menu.js index ad131b4..f5eeac4 100644 --- a/src/components/layout/menu.js +++ b/src/components/layout/menu.js @@ -6,7 +6,7 @@ import { menu } from '../../utils' const topMenus = menu.map(item => item.key) const getMenus = function (menuArray, siderFold, parentPath = '/') { return menuArray.map(item => { - const linkTo = parentPath +item.key + const linkTo = parentPath + item.key if (item.child) { return (