Vue small project error and how I solved it:

The cause of this problem is that data is returned before sending an asynchronous request, while requesting dataThe initial values are either empty objects or empty arrays, you use three-level expressions (there is no problem with two-level expressions, for exampleinfo.name) an array or object is empty /undefined, the following code I usedinfo.supports[0].type, is a three-level expression

The above legend will report an error, the solution is as follows:

Add a V-if statement to determine if the array you are using actually arrived, and if so, execute the code inside

Ok, share a real combat experience, thank you!