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

前端 未结 14 1250
一整个雨季
一整个雨季 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 11:48

    Check your token object. that's maybe undefined in local storage. you need to clear that and everything will be fine. clear your local storage or cookie where you store your token

提交回复
热议问题