登陆验证token  登陆页加载获取token没问题,同时跳转首页进入首页后获取到服务器的token,同时报错
Failed to load http://127.0.0.1:8080/showMenus: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8020' is therefore not allowed access.
首页不加载
控制台上图跨域设置上图token验证上图: