vue.config.js
@@ -1,10 +1,11 @@ const webpack = require('webpack'); module.exports = { publicPath:'./', configureWebpack: { devServer: { proxy: { '/api': { target: 'http://10.2.33.200', target: 'http://localhost:7070', changeOrigin: true, ws:true, pathRewrite: { @@ -13,5 +14,5 @@ } } } } }, }