小小儁爺
2024-09-06 883c48767e301242bef64e8423a769225b04284f
vue.config.js
@@ -52,7 +52,7 @@
    },
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        target: 'http://121.196.36.24:8033', // 本地
        target: 'http://121.196.36.24:8034', // 本地
        // target: 'http://192.168.0.147:8000', // 优克
        changeOrigin: true, // 请求跨域时,需 配置此项
        pathRewrite: { // 路径重写,替换target中的请求地址