javascript - The image link request is always in the pending state, causing the page to crash. How to solve it?
阿神
阿神 2017-06-05 11:13:58
0
1
1258

When requesting the interface, the image link is returned. When the image link is read, it is always in the pending state. Neither the success status code nor the failure status code is returned, and it remains in the pending state. Long-term pending causes the page to crash. How to solve it?

阿神
阿神

闭关修行中......

reply all(1)
漂亮男人

This should be a background problem. There is no response in the background, causing the request to time out. If you want to process it, it is recommended to set a timeout, or set a placeholder image on the page, wait until the image that needs to be replaced is loaded, and then replace it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template