How does vue-resource terminate previous ajax request?
扔个三星炸死你
扔个三星炸死你 2017-06-13 09:24:02
0
2
870

There are 5 tab pages in the page. When the tab page is clicked, the data of the corresponding tab page is requested, but I want to terminate the ajax request of the previous tab page (both get request and post request) when clicking other tab pages. The previous interface was terminated no matter what state it was in.) How to solve it?

扔个三星炸死你
扔个三星炸死你

reply all(2)
仅有的幸福

https://github.com/pagekit/vu...

阿神

abort method

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!