看axios的官方文档,
链接:
https://www.kancloud.cn/yunye...
发现它里面并没有说明默认超时时间是多长,之前也没注意到这个问题。文档里面只有:
请问各位:axios的默认超时时间是1000吗?
看axios的官方文档,
链接:
https://www.kancloud.cn/yunye...
发现它里面并没有说明默认超时时间是多长,之前也没注意到这个问题。文档里面只有:
请问各位:axios的默认超时时间是1000吗?
看英文原版文档吧
中文没翻译完整
https://github.com/axios/axios
// `timeout` specifies the number of milliseconds before the request times out.
// If the request takes longer than `timeout`, the request will be aborted.
timeout: 1000, // default is `0` (no timeout)
无语,这是哪门子官方文档?
https://github.com/axios/axios