Vue requests the same asynchronous api multiple times, resulting in data confusion. How to get the last data result and how to achieve async with the same loadingDate () api?

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

May.30,2022

promise.all ()


record the request, and if the previous request is not answered before the next request, drop the previous abort .
abort

Menu