We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,我发现了一个程序中存在的Bug: 我在测试这个小程序的时候,发现点击底部的“我的”标签后,控制台会报错,错误信息为“TypeError: Cannot read property 'forEach' of undefined”。除了点击标签以外,点进预约记录并返回也会有一样的报错信息。
好像知道问题出在哪里了, 这块代码里面,对应失败时的回调操作会传一个false作为参数,但在对应的方法这里: 试图从传入的参数中读取list字段,这会在请求失败时得到一个undefined的结果值,因此后续执行forEach方法时就会报出上述的错误来。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好,我发现了一个程序中存在的Bug:

我在测试这个小程序的时候,发现点击底部的“我的”标签后,控制台会报错,错误信息为“TypeError: Cannot read property 'forEach' of undefined”。除了点击标签以外,点进预约记录并返回也会有一样的报错信息。
好像知道问题出在哪里了,


这块代码里面,对应失败时的回调操作会传一个false作为参数,但在对应的方法这里:
试图从传入的参数中读取list字段,这会在请求失败时得到一个undefined的结果值,因此后续执行forEach方法时就会报出上述的错误来。
The text was updated successfully, but these errors were encountered: