qinxianzhangyao
2023-11-23 5cfc97edd66731e2ebeea36072ec160a25a7bbf3
vue.config.js
@@ -36,9 +36,9 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`,
        // target: `http://192.168.0.100:5011`,
        target: `http://192.168.0.100:5011`,
        // // target: `http://192.168.0.99:8080/ltkj-admin`,
        target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''