关于vue前后端跨域问题 Cross origin requests are only supported for protocol schemes: http, data, chrome, chr
在项目进行前后端分离时,遇到一个问题;AccesstoXMLHttpRequestat‘localhost:8087/login’fromorigin‘http://localhost:8081’hasbeenblockedbyCORSpolicy:Crossoriginrequestsareonlysupportedforprotocolschemes:http,data,chrome,chro