摘要: 一、基本步骤 1.修改根目录文件vue.config.js devServer: { proxy: { '/IO': { target: 'http://localhost:8081'//后台地址 changeOrigin: true, pathRewrite: { '^/IO': '/' } } 阅读全文