It looks like most of the errors you show in your screenshot stem from the same issue - namely, attempting to call .length
on an object that does not exist.
If you expect the object to not exist sometimes, then you should fix the source of that error with something like:
if (object.length) { ... do something with .length property ... }
Errors should not be ignored! They're our only window into understanding when our programs are not behaving as we intend.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.