2020-12-24 前端►vue 跨域 webpack 12345678910111213141516// config/index.jsmodule.exports = { dev: { ... proxyTable: { '/api': { target: "http://localhost:8000", changeOrigin: true, pathRewrite: { '^/api': 'api' } }, }, ... }} Newer element ui Older django 常见问题