''
liukangdong
2024-05-27 aeadf5dce5646f19ada355b3a35eab4f5b0956a1
h5/manifest.json
@@ -58,7 +58,10 @@
            "minified" : true
        },
        "usingComponents" : true,
        "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ],
        "requiredPrivateInfos": [
            "getLocation",
            "chooseLocation"
        ],
        "permission" : {
            "scope.userLocation" : {
                "desc" : "用于获取周边房源位置"
@@ -86,9 +89,11 @@
        },
      "devServer" : {
         "port": 8090,
            "historyApiFallback": true,
            "disableHostCheck": true,
         "proxy" : {
            "/api" : {  // 这个字段名需与你配置的basePrefixUrl一致,系统识别到带有/dev-api请求的地址时,会在前面拼接上代理服务器地址
               "target" : "http://192.168.0.106:10010", // 代理服务器域名或IP地址
                    "target": "http://192.168.0.143:10010", // 代理服务器域名或IP地址
               "changeOrigin" : true, // 允许跨域 
               "pathRewrite" : {
                  "^/api" : ""  // 重写地址,如果实际接口中是不带/dev-api,需要将这个前缀置空,因为这个前缀只是为了识别用,识别完之后就没用了