error:{“readyState“:0,“responseText“:““,“status“:0,“statusText“:“error“}

Firefox browser bug:

Request the background and jump to the page. The page jumps before the data is responded, resulting in an error.

Solution: Change to synchronous request

async: false

Guess you like

Origin blog.csdn.net/weixin_39763711/article/details/130952347