开发者可设置NavPathStack上的接口disableAnimation为true来关闭路由的跳转动画,disableAnimation同时控制removeByName等路由操作的动画开关。示例代码如下:
this.pageStack.disableAnimation(true);