ts react antd项目
线下测试接口http协议的
报错内容:
net::ERR_CONNECTION_RESET 431 (Request Header Fields Too Large)
(报错但是不会空白)
线上接口是https协议的
报错内容:
net::ERR_CONNECTION_ABORTED
net::ERR_CONNECTION_CLOSED
useAsync.js:196 Error: Network Error
at e.exports (createError.js:16)
at XMLHttpRequest.f.onerror (xhr.js:84)
charts:1 Uncaught (in promise) useRequest has caught the exception, if you need to handle the exception yourself, you can set options.throwOnError to true.
(报错且空白)