{ "name": "laborVisitors", "appid": "__UNI__E9B0763", "description": "", "versionName": "1.0.0", "versionCode": "100", "transformPx": false, /* 5+App特有相关 */ "app-plus": { "usingComponents": true, "nvueStyleCompiler": "uni-app", "compilerVersion": 3, "splashscreen": { "alwaysShowBeforeRender": true, "waiting": true, "autoclose": true, "delay": 0 }, /* 模块配置 */ "modules": {}, /* 应用发布信息 */ "distribute": { /* android打包配置 */ "android": { "permissions": [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ] }, /* ios打包配置 */ "ios": {}, /* SDK配置 */ "sdkConfigs": {} } }, /* 快应用特有相关 */ "quickapp": {}, /* 小程序特有相关 */ "mp-weixin": { "appid": "wxcd2b89fd2ff065f8", "setting": { "urlCheck": false, "es6": true, "postcss": true, "minified": true }, "usingComponents": true, "requiredPrivateInfos": [ "getLocation", "chooseLocation" ], "permission": { "scope.userLocation": { "desc": "用于获取周边房源位置" } } }, "mp-alipay": { "usingComponents": true }, "mp-baidu": { "usingComponents": true }, "mp-toutiao": { "usingComponents": true }, "uniStatistics": { "enable": false }, "vueVersion": "2", "h5": { "router": { "mode": "hash", "base": "/" // "base" : "/h5/" }, "devServer": { "port": 8090, "historyApiFallback": true, "disableHostCheck": true, "proxy": { "/api": { // 这个字段名需与你配置的basePrefixUrl一致,系统识别到带有/dev-api请求的地址时,会在前面拼接上代理服务器地址 "target": "http://192.168.0.143:10010", // 代理服务器域名或IP地址 "changeOrigin": true, // 允许跨域 "pathRewrite": { "^/api": "" // 重写地址,如果实际接口中是不带/dev-api,需要将这个前缀置空,因为这个前缀只是为了识别用,识别完之后就没用了 } } } } } }