通过 @ohos.router模块的 pushUrl、back、replaceUrl、clear等方法,例如:this.getUIContext().getRouter().pushUrl({ url: 'pages/pageOne' });
通过 @ohos.router模块的 pushUrl、back、replaceUrl、clear等方法,例如: