Access to XMLHttpRequest at 'http://192.168.20.124:9820/login/doLogin' from origin 'http://localhost:8080' has been blocked by CORS policy: Request header field noloading is not allowed by Access-Control-Allow-Headers in preflight response.
POST http://192.168.20.124:9820/login/doLogin net::ERR_FAILED
接口显示CORS错误
用的是vue3
跨域了 https://cli.vuejs.org/zh/config/#devserver-proxy
在你的vue.config.js中配置跨域,proxy
跨域问题,后台接口有问题