angular 解决 Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'? 提示
问题描述在闭包函数中跳转路由时有时会出现 Navigation triggered outside Angular zone, did you forget to call ‘ngZone.run()’?的提示并无法跳转路由。解决方案import { Component, OnInit, NgZone } from '@angular/core';export class * { ...
原创
2019-05-17 11:06:11 ·
1489 阅读 ·
0 评论