yangan
2024-10-17 725325a5bdfac73de8e8cbec2ba71a4923883529
manifest.json
@@ -72,7 +72,8 @@
         "minified": true,
         "postcss": false
      },
      "usingComponents": true
      "usingComponents": true,
      "libVersion":"latest"
   },
   "mp-alipay": {
      "usingComponents": true
@@ -86,5 +87,50 @@
   "uniStatistics": {
      "enable": false
   },
   "vueVersion": "2"
   "vueVersion": "2",
    "h5" : {
        "router" : {
            "base" : "./",
            "mode" : "hash"
        },
        "devServer" : {
            "port" : 8080,
            "disableHostCheck" : true,
            "proxy" : {
                "/admin" : {
                    "target" : "http://192.168.0.22:9999/",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : "/"
                    }
                },
                "/gen" : {
                    "target" : "http://192.168.0.22:9999/",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : ""
                    }
                },
                "/wrzs" : {
                    "target" : "http://192.168.0.22:9896/",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : true, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/wrzs" : "/wrzs"
                    }
                }
            }
        },
        "optimization" : {
            "treeShaking" : {
                "enable" : true
            }
        },
        "publicPath" : "./"
    }
}