router主要在entry修饰符之 router.getParams()
router.pushUrl({ url: 'pages/WebViewTestPage' })
router.pushUrl({url:''},router.RouterMode.Single)
router.pushUrl({url:''},router.RouterMode.Standard)
提醒:
aboutToAppear(): void {
router.showAlertBeforeBackPage({
message:'您确定要退出吗'
})
}