diff --git a/changelog.md b/changelog.md index fad793d4ee709506139d6598533e47f601394606..f012130add1d0dcad5b0e248a7630660feab333f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 1.2.7(2022-08-10) +- 修复微信小程序绑定手机号失败的问题 ## 1.2.6(2022-06-29) - 支持 ios 安全区 ## 1.2.5(2022-05-29) diff --git a/components/uni-bindMobileByMpWeixin/uni-bindMobileByMpWeixin.vue b/components/uni-bindMobileByMpWeixin/uni-bindMobileByMpWeixin.vue index c1246e515916058503b5f54ff21b1fc13d1248ce..d36b9c38c91e93099939fdb1d4c5daa83b3a05eb 100644 --- a/components/uni-bindMobileByMpWeixin/uni-bindMobileByMpWeixin.vue +++ b/components/uni-bindMobileByMpWeixin/uni-bindMobileByMpWeixin.vue @@ -71,7 +71,7 @@ }, bindMobileByMpWeixin(e) { console.log(e.detail); - if(e.errMsg == "getPhoneNumber:ok"){ + if(e.detail.errMsg == "getPhoneNumber:ok"){ uniCloud.callFunction({ name: "uni-id-cf", data: { diff --git a/manifest.json b/manifest.json index 8f82c59dd129eeb7205440cc020029c818a7a27f..6b1027a5f829f63c7a733e02df92d9c0f17ab167 100644 --- a/manifest.json +++ b/manifest.json @@ -1,72 +1,72 @@ { - "name" : "uni-starter", - "appid" : "__UNI__EC87F46", - "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" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "2" + "name": "uni-starter", + "appid": "__UNI__EC87F46", + "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": "", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "2" } diff --git a/package.json b/package.json index bf35875e5a9b38a2b39b6013f06b7151fc52aab9..098b563e487e371067922e4aaceba1d43cd091e3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "1.2.6", + "version": "1.2.7", "description": "云端一体应用快速开发基本项目模版", "keywords": [ "login", @@ -14,12 +14,8 @@ "engines": { "HBuilderX": "^3.2.6" }, - "dcloudext": { - "category": [ - "uniCloud", - "云端一体项目模板" - ], - "sale": { + "dcloudext": { + "sale": { "regular": { "price": "0.00" }, @@ -35,7 +31,8 @@ "data": "无", "permissions": "无" }, - "npmurl": "" + "npmurl": "", + "type": "unicloud-template-project" }, "uni_modules": { "dependencies": [