projects created using vue-cli 2.9
- config/index.js
this.$http
.post("/UTRY/tsupport_workbench/rest/loginCtrl/getMenu")
restart and delete node_modules have all been tried, and there is no sign of proxy.
console or cross-domain report
Access to XMLHttpRequest at "http://192.168.0.143:9300/UTRY/tsupport_workbench/rest/loginCtrl/getMenu" from origin "http://127.0.0.1:8080" has been blocked by CORS policy: Response to preflight request doesn"t pass access control check: No "Access-Control-Allow-Origin" header is present on the requested resource.
Network
Request URL: http://192.168.0.143:9300/UTRY/tsupport_workbench/rest/loginCtrl/getMenu
how should I configure it?