Why did the request lose the packet, and how to verify whether the packet was lost?
Why did the request lose the packet, and how to verify whether the packet was lost?
Network conditions can cause packet loss
if there is an error in the request, there will naturally be an error return code at the bottom, try,catch. If the packet is lost, either the network card will be resent, and you can't verify it. You can only know whether the request has been completed. If it is a complete packet loss, it may be an error such as host unResolved
.Previous: When vue components are reused, the address parameters of dynamic routing do not change.
Next: Vue child component pull-up scroll, how to make the parent component scroll along with the pull-up?