Uncaught Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development

前端 未结 14 1166
一整个雨季
一整个雨季 2020-12-20 11:08

Everytime I submit a zone, It display this error \'Uncaught Error: A cross-origin error was thrown. React doesn\'t have access to the actual error object in development\' It

14条回答
  •  礼貌的吻别
    2020-12-20 12:03

    This is shown because React does not show the traceback of the error due to security concerns. The error could be unrelated to CORS altogether. I suggest to look at the console for errors that would show up. Resolving those errors may solve your issue.

提交回复
热议问题