解决方案在开发中为了跳转到共享包Har或者Hsp中的页面(即共享包中路由跳转),可以使用router.pushNamedRoute()来实现。可参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/arkts-routing-V5\#命名路由
解决方案
在开发中为了跳转到共享包Har或者Hsp中的页面(即共享包中路由跳转),可以使用router.pushNamedRoute()来实现。可参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/arkts-routing-V5\#命名路由