vue.config.js
@@ -1,11 +1,12 @@ module.exports = { // 修改的配置 // 将baseUrl: '/api',改为baseUrl: '/', publicPath: '/', publicPath: './', outputDir: 'dist', devServer: { proxy: { '/api/api': { target: 'http://highdatas.com:8090', target: 'http://srs.highdatas.com:8090', // target: 'http://192.168.31.233:8090', changeOrigin: true, ws: true, pathRewrite: {