config下面的index.js文件 const ios = require('./os'); module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { '/api': { target: 'http://192.168.0.127:8890', // 跨域地址 changeOrigin: true, //是否跨域 secure: false