<div><span style="color: rgb(0,0,0);">Chrome Development tool里观察到具体的error message:</span></div>
<div><span style="color: rgb(0,0,0);"><div>
<div><span style="color: rgb(0,0,0);"><div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);">找出具体抛error message的JavaScript source code: core-min-3.js:</span></span></div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><div>
</div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);">root cause是解析navigation target时报错:</span></span></span></div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><div>
<div><span style="color: rgb(0,0,0);"><br></span></div>
<div><span style="color: rgb(0,0,0);"><div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);">使用OData 读取navigation target信息:</span></span></div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);">读取失败,返回response length为0:</span></span></div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(34,34,34);">返回结果是空的:</span></span></span></div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(34,34,34);"><div>
<div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(34,34,34);"> </span></span></span></span>
<div>在backend debug找出出问题的代码: line 79。</div>
<div>Callstack如下:</div>
<div><div>
<div><span style="color: rgb(0,0,0);">使用debug 从line 79点shift + F12直接跳至method 尾部,问题即解决。</span></div><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(34,34,34);"><br></span></span></span></div>
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。