业务中会遇到点击列表跳转到详情页, 1.在index.js修改我们的跟组件 新建router2的文件 import React from 'react' import { HashRouter as Router, Route, // Link, Switch } from 'react-router-dom' import Main from './main' import Info from './info' import About from './../router1/about' im