Mossoul 2021-09-08 10:16 采纳率: 66.7%
浏览 57
已结题

搜索功能,搜索 test 就报错,其他词都没问题

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.
(报错且空白)

  • 写回答

1条回答 默认 最新

  • 前端-海鸟 2021-09-08 11:14
    关注

    4开头服务端的问题呀

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 9月17日
  • 已采纳回答 9月9日
  • 创建了问题 9月8日