鸿蒙使用router.pushUrl进行页面跳转,报错:
[manifest_router.cpp(GetPagePath)-(0)] [Engine Log] can't find this page pages/AuthPage path
[page_router_manager.cpp(StartPush)-(0)] [Engine Log] this uri not support in route push.
因为是拷贝的页面,没有在resource/base/profile/main_pages.json中进行相关注册
如果是通过DevEco创建的page默认会注册,进行相关注册后解决问题