yangan
2024-10-17 725325a5bdfac73de8e8cbec2ba71a4923883529
manifest.json
@@ -50,14 +50,30 @@
   "quickapp": {},
   /* 小程序特有相关 */
   "mp-weixin": {
      "appid": "wx2463f9b1ba3b9651",
      "appid": "wxa48d51c9d0e23458",
      "permission": {
         "scope.userFuzzyLocation": {
            "desc": "你的位置信息将用于小程序定位"
         },
         "scope.userLocation": {
            "desc": "你的位置信息将用于小程序定位"
         },
         "scope.makePhoneCall": {
            "desc": "你的电话将用于拨打客服电话"
         }
      },
      "optimization": {
         "subPackages": true
      },
      "requiredPrivateInfos": ["getFuzzyLocation"],
      "setting": {
         "urlCheck": false,
         "es6": true,
         "minified": true,
         "postcss": false
      },
      "usingComponents": true
      "usingComponents": true,
      "libVersion":"latest"
   },
   "mp-alipay": {
      "usingComponents": true
@@ -71,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" : "./"
    }
}