There are only routing changes in the react-routerV4 Link component, and the page cannot be redirected.

after clicking on the component, the route changes, the page does not jump, and no request is made. Refresh the page and it will jump.

The

code is as follows.

 <div className="city_name">
   <Link to="/city">
        <span>{this.state.city}</span>
   </Link>
</div>
Mar.23,2021
Menu