vue-admin-template
调试vue-admin-template控制台显示Access to XMLHttpRequest at ‘http://localhost:8080/sockjs-node/info?t=1611751258246’ from origin ‘http://localhost:8081’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
解决
1、node_modules/sockjs-client/dist/sockjs.js
2、注释self.xhr.send(payload);内容