fuhua

Results 2 comments of fuhua

通过fetch访问子项目,需要子项目进行可跨域配置,vue.config.js: devServer: { headers: { 'Access-Control-Allow-Origin': '*' } }

> Failed to load http://localhost:8081/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. If an opaque response serves your needs, set the...