vue.config.js
@@ -21,11 +21,12 @@ hot: true, proxy: { '/api': { target: 'http://192.168.56.107:8078', target: 'http://192.168.56.107:8088', // target: 'http://192.168.1.104:8078', changeOrigin: true, pathRewrite: { '^/api': '' }, // pathRewrite: { // '^/api': '' // }, secure: false }, '/hp': { @@ -35,6 +36,11 @@ '^/hp': '' }, secure: false }, '/simu': { target: 'http://192.168.56.107:8088', changeOrigin: true, secure: false } } }