Day 262/300 Uncaught (in promise) TypeError: Cannot read property ‘__asyncLoader‘ of undefined

(1) Demand

Solve the error report, there was no error report before, and a new error report appeared.

1. Error 1:

Uncaught (in promise) TypeError: Cannot read property '__asyncLoader' of undefined

2. Error 2:

TypeError: Cannot read properties of null (reading 'emitsOptions')

(2) Analysis

In other words, it's amazing. After a day of investigation, I didn't find any problems.

I checked the information on the Internet, and there is very little information. Some said that the way to introduce the defineAsyncComponent component is wrong. I checked it and it was fine.

Finally, it was found that the interface reported an error, and the investigation found that the field was changed once.

Specifically, the object returned by the backend needs to be modified to pass a certain value, which finally caused this problem.

(3) Summary

If there was no problem before, it is a new problem. Just find out what code has been changed recently.

I changed this code 3 weeks ago, and there was a problem. During the first investigation, only the code from two weeks ago was found.

Guess you like

Origin blog.csdn.net/xinghuowuzhao/article/details/127089371