vue.js - Disconnect the sent request to solve the problem of repeated request data errors on the interface (axios in vue has multiple identical requests interrupting the previous one)

describe

When entering the page, the first interface is still requesting. Immediately switch tabs to request the second interface. However, the second interface responds faster than the first interface. The page displays the data of the first interface, as shown in the figure:

おすすめ

転載: blog.csdn.net/weixin_50545213/article/details/133908990