在您的AppRoutingModule中,将enableTracing设置为false:{ useHash: true, enableTracing: DEBUG_INFO_ENABLED } should be: { useHash: true, enableTracing: false }