hejianhao
2025-05-08 bf78e21afc816c7fb6cb5ccce44608f13da07793
laboratory/vue.config.js
@@ -17,6 +17,14 @@
                    "^/api": "/api",
                },
            },
            "/": { // 设置以什么前缀开头的请求用来代理
                target: "http://192.168.110.34:8081", //要访问的跨域的域名
                secure: false, // 使用的是http协议则设置为false,https协议则设置为true
                changOrigin: true, //开启代理
                pathRewrite: {
                    "^/": "/",
                },
            },
        },
    },
    configureWebpack: {