上边方法在chrome浏览器可能会遇到报错 (失败)net::ERR_BLOCKED_BY_ORB 可使用下边代码判断url是否可用 const isUrlAvailable = (url) => { return fetch(url, { method: 'GET', mode: 'no-cors' }) .then(response => { console.log('response.ok', response.ok) return true }) .catch(error =>...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus...
ERR_H2_OR_QUIC_REQUIRED -31 由于没有H/2或QUIC会话,请求被阻止。 ERR_BLOCKED_BY_ORB -32 请求被 CORB 或 ORB 阻止。 ERR_CONNECTION_CLOSED -100 连接已关闭(对应于TCP FIN)。 ERR_CONNECTION_RESET -101 连接被重置(对应于TCP RST)。 ERR_CONNECTION_REFUSED -102 连接被拒绝。 ERR_CONNECTION_ABORTED...