解决:Warning: Hash history cannot PUSH the same path; a new entry will not be adde
//link.js import React from 'react'; import {Route, Link as ReactRouterLink} from 'react-router-dom'; import {createPath} from 'history'; const Link = ({to, replace, ...props}) => ( <Route path={typeof to === 'string' ? to : createP…
627 2021-08-25 去围观