vue.config.js
@@ -45,17 +45,17 @@
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''
        }
      },
      '/Req': {
        // target: `http://192.168.1.129:8080/screen/login?account=chenxi&password=123456`,
        // target: `http://localhost:${port}/mock`,
        target: `http://192.168.55.1:8081/`,
        secure: false, // 如果是https接口,需要配置这个参数为true
        changeOrigin: true,
        pathRewrite: {
          '^/Req': ''
        }
      }
      // '/Req': {
      //   // target: `http://192.168.1.129:8080/screen/login?account=chenxi&password=123456`,
      //   // target: `http://localhost:${port}/mock`,
      //   target: `http://121.43.179.139:8080`,
      //   secure: false, // 如果是https接口,需要配置这个参数为true
      //   changeOrigin: true,
      //   pathRewrite: {
      //     '^/Req': ''
      //   }
      // }
    },
    after: require('./mock/mock-server.js'),
    historyApiFallback: {