-1
我对console.log中的HTTP请求401(UNAUTHORIZED)有401错误,我该如何解决这个问题?状态码401
GET somelink 401 (UNAUTHORIZED)
api.js:35 Error: UNAUTHORIZED
at Request.<anonymous> (client.js:423)
at Request../node_modules/component-emitter/index.js.Emitter.emit (index.js:133)
at XMLHttpRequest.xhr.onreadystatechange (client.js:735)
请张贴您的代码。 – Kamesh
哪里有请求?顺便说一句401意味着你没有权限访问该资源,或者你有错误的凭据,或者你没有正确发送它们 –