收藏
回答

1909252 版本的开发工具无法触发 onPageNotFound ?

比较新的的开发工具在启动设置中新增一个错误路径,不会触发 onPageNotFound,老版本的开发工具可以。

thirdScriptError
onPageNotFound error: page "health-info" is not found.; at onPageNotFound
Error: onPageNotFound error: page "health-info" is not found.
    at WAService.js:1:872524
    at WAService.js:1:458059
    at n (http://127.0.0.1:47787/appservice/__dev__/asdebug.js:1:3175)
    at e.exports.<anonymous> (http://127.0.0.1:47787/appservice/__dev__/asdebug.js:1:3555)
    at http://127.0.0.1:47787/appservice/__dev__/asdebug.js:1:1968
    at Array.forEach (<anonymous>)
    at WebSocket._ws.onmessage (http://127.0.0.1:47787/appservice/__dev__/asdebug.js:1:1950)

Page "health-info" has not been registered yet.

并没有我在onPageNotFound 中打印的log信息

回答关注问题邀请回答
收藏

3 个回答

登录 后发表内容
问题标签