uses vue+webpack
proxyTable
axios
is it a problem that the backend does not release permissions?
or is the code on my side written incorrectly
uses vue+webpack
proxyTable
axios
is it a problem that the backend does not release permissions?
or is the code on my side written incorrectly
request is miswritten. It should be axios.get ('/ api/.'). Just do it.
code is miswritten. You can take a look at this: cross-domain, you can set up a proxy or call the backend to change it. Background change is the easiest and quickest proxy is set. Why do you need axios.get ('full address') when you request it? You should change it to axios.get ('/ api/.'), and then try
What is the principle of cross-domain proxy proxyTable in 1.node? 2. When I do not set CORS on both the browser and the server, I can cross-domain by setting proxytable. Does this go against the original intention of the same origin policy? ps: woul...
to integrate two vue projects without changing the configuration file, because there are many files with the same name of the two projects, it is difficult to synthesize a project, so choose to use the form of outer chain to make the project look like on...