angular 解决 Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'? 提示
问题描述在闭包函数中跳转路由有时会出现路由无法跳转并带有NavigationtriggeredoutsideAngularzone,didyouforgettocall‘ngZone.run()’?的提示解决方案import{Component,OnInit,NgZone}from'@angular/core';exportclass*{constructor(privateroute:Route