• antd react-router 导航菜单刷新高亮

    我当前版本 "antd": "^3.16.5", "react": "^16.8.6", "react-router": "^5.0.0", 刷新高亮当前导航位置 app.js 注意一些点: withRouter需被包含在<Router>里,否则会报错的 import React, {Component} from 'react'; import {BrowserRouter as R…

    伴侣哟 2019-05-17 Learn 1.48w