proxyTable: {
"/levy": {
target: "http://118.31.112.11",
changeOrigin: true //
}
},
var obj = {
username:"",
password:""
}
this.$post("/levy/login/index",obj).then(res=>{
console.log(res);
})
Why doesn"t requestUrl take effect after the configuration above? Causes an error to be reported
it"s not a port problem. It doesn"t work even if you change it to 8060.