#鸿蒙学习大百科#NavPathStack如何实现替换页面?

NavPathStack如何实现替换页面?

HarmonyOS
2024-10-25 10:38:15
浏览
收藏 0
回答 1
回答 1
按赞同
/
按时间
被窝终结者
// 将栈顶页面替换为PageOne
this.pageStack.replacePath({ name: "PageOne", param: "PageOne Param" })
this.pageStack.replacePathByName("PageOne", "PageOne Param")
  • 1.
  • 2.
  • 3.
分享
微博
QQ
微信
回复
2024-10-25 17:31:11


相关问题
#鸿蒙学习大百科#如何实现ui优化?
1023浏览 • 1回复 待解决