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