angular error: Can not match any routes URL Segment "xx"

Cause of the problem: Since the address of a set path or route configuration when an error causes a jump or landing problems

For example, I met a problem: the child account login Jump when problems arise

 

Solution: I first saw the error log, and find corresponding information does not appear, from the literal meaning of view and "managers" or related to the routing path out of the question;

    Reanalysis problem jump path, and then if it is not found the problem in a configuration file;

Basically a port number behind / And here appeared //; deleted a / rerun, problem solved.

If you are not on the wrong path, start from app-routing.moudule.ts files, view and find the problem prompted Segment keyword investigation.

 

Guess you like

Origin www.cnblogs.com/llw1996/p/11248443.html