Reason:Error
Error name:Error
Error message:Internal error. UI execution context not found.
Error code:100001
Stacktrace:
Cannot get SourceMap info, dump raw stack:
at gotoLoginPage (entry|entry|1.0.0|src/main/ets/viewmodel/login/QuickLoginManager.ts:474:1)
at anonymous (entry|entry|1.0.0|src/main/ets/h5common/plugin/JXPluginAlertInfo.ts:94:1)
at anonymous (entry|entry|1.0.0|src/main/ets/widget/dialog/CustomWindowDialog.ts:67:1)
at anonymous (entry|entry|1.0.0|src/main/ets/widget/dialog/CustomWindowDialog.ts:89:1)
at (entry/src/main/ets/h5common/page/H5Page.ets:227:11) 通过使用Class (UIContext)中的getRouter方法获取当前UI上下文关联的Class (Router)对象,再通过该对象调用对应方法。可参考pushUrl中的示例,此页面路由方式不推荐,建议使用方式二。
组件导航(Navigation)具有更强的功能和自定义能力,推荐使用该组件作为应用的路由框架。Navigation和Router的差异可参考Router切换Navigation指导。