Access to XMLHttpRequest at 'http://192.168.188.63:5005/api/getMenuListByRoleId' from origin 'http://192.168.188.63:3002' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
拷贝老的Vue项目框架,搭建新的项目报错。没有去登录页面直接访问服务端API,获取权限。
去清除登录缓存即可!!!