使用router跳转页面,跳转无反应,遇到如下提示:
05-14 14:28:14.695 6624-6624 A03d00/JSAPP com.example....oharmony I Invoke pushUrl failed, code is 100002, message is Uri error. loading js file has crash or the uri of router is not exist.
提示是js file crash. 但是没有其他信息定位出哪里出错。请问这种报错有什么好的定位问题的方式吗?
当跳转页面输入的uri错误或者不存在,系统会产生此错误码。请检查输入的路由uri是否正确。https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/errorcode-router-V5\#section100002-路由页面跳转时输入的uri错误