ZhangXianQiang
2024-04-28 7116e6e5a387f769ac610d3396a7d61771eb90dd
vue.config.js
@@ -35,8 +35,10 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        target: `http://localhost:8080`,
        // target: `http://192.168.3.87:8080`,
        // target: `http://localhost:8080`,
        // target: `http://192.168.3.64:8080`,
        target: `http://192.168.3.87:8080`,
        // target: `http://192.168.3.88:8085`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''