made with vue, it was originally a double for loop, and the inner layer nested ajax to get the object. Now you need to change the inner for loop to a recursive ajax function, and the result is that the return value arr is the value of undefined,ajax internal arr. Look at the method on the Internet to add return in front of the getProducts function when calling itself is also a result, ask how to solve?