linwei
2024-01-19 5787d3d20d4a61732c94ae066733a3da4d2269d6
vue.config.js
@@ -18,7 +18,9 @@
    entry.add("@/mock").end();
  },
  css: {
    extract: { ignoreOrder: true },
    extract: {
      ignoreOrder: true
    },
  },
  //开发模式反向代理配置,生产模式请使用Nginx部署并配置反向代理
  devServer: {
@@ -26,7 +28,7 @@
    proxy: {
      "/api": {
        //本地服务接口地址
        target: "https://srgdjczzxtpt.com:2080/api",
        // target: "https://srgdjczzxtpt.com:2080/api",
        // target: "http://z4042833u6.wicp.vip",
        // target: "http://localhost:9528",
        // target:"http://192.168.0.109:9528",