...
 
Commits (2)
    https://gitcode.net/dcloud/hello_uni-id-pages/-/commit/29fb4f70ab4af687604c2743bcca4b8685cdddfe fix:PC设置头像无效 2024-02-20T16:05:44+08:00 Anne_LXM 54163582+anne-lxm@users.noreply.github.com https://gitcode.net/dcloud/hello_uni-id-pages/-/commit/65aadfd700c86e864e4a7c03e4fc02fa039f811e 1.1.18 2024-02-20T16:05:57+08:00 Anne_LXM 54163582+anne-lxm@users.noreply.github.com
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
"dSYMs" : false, "dSYMs" : false,
"capabilities" : { "capabilities" : {
"entitlements" : { "entitlements" : {
"com.apple.developer.associated-domains" : [ "applinks:static-9f641af8-e860-44e5-b18f-f68dd8fe3fe4.bspapp.com" ] "com.apple.developer.associated-domains" : [ "" ]
} }
} }
}, },
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
"oauth" : { "oauth" : {
"univerify" : {}, "univerify" : {},
"weixin" : { "weixin" : {
"appid" : "wxffdd8fa6ec4ef2a0", "appid" : "",
"UniversalLinks" : "https://static-9f641af8-e860-44e5-b18f-f68dd8fe3fe4.bspapp.com/uni-universallinks/__UNI__0B1B311/" "UniversalLinks" : ""
}, },
"apple" : {} "apple" : {}
}, },
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
"mode" : "hash" "mode" : "hash"
} }
}, },
"_spaceID" : "9f641af8-e860-44e5-b18f-f68dd8fe3fe4", "_spaceID" : "",
"fallbackLocale" : "zh-Hans", "fallbackLocale" : "zh-Hans",
"locale" : "zh-Hans" "locale" : "zh-Hans"
} }
## 1.1.18(2024-02-20)
- 修复 PC设置头像无效的问题
## 1.1.17(2023-12-14) ## 1.1.17(2023-12-14)
- uni-id-co 移除一键登录、短信的调用凭据 - uni-id-co 移除一键登录、短信的调用凭据
## 1.1.16(2023-10-18) ## 1.1.16(2023-10-18)
......
...@@ -129,26 +129,24 @@ ...@@ -129,26 +129,24 @@
filePath = res.tempFilePaths[0] filePath = res.tempFilePaths[0]
//非app端剪裁头像,app端用内置的原生裁剪 //非app端剪裁头像,app端用内置的原生裁剪
// #ifndef APP-PLUS // #ifdef H5
filePath = await new Promise((callback) => { if (!this.isPC) {
// #ifdef H5 filePath = await new Promise((callback) => {
if (!this.isPC) { uni.navigateTo({
uni.navigateTo({ url: '/uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage?path=' +
url: '/uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage?path=' + filePath + `&options=${JSON.stringify(crop)}`,
filePath + `&options=${JSON.stringify(crop)}`, animationType: "fade-in",
animationType: "fade-in", events: {
events: { success: url => {
success: url => { callback(url)
callback(url) }
} },
}, complete(e) {
complete(e) { console.log(e);
// console.log(e); }
} });
}); })
} }
// #endif
})
// #endif // #endif
let cloudPath = this.userInfo._id + '' + Date.now() let cloudPath = this.userInfo._id + '' + Date.now()
......
{ {
"id": "uni-id-pages", "id": "uni-id-pages",
"displayName": "uni-id-pages", "displayName": "uni-id-pages",
"version": "1.1.17", "version": "1.1.18",
"description": "云端一体简单、统一、可扩展的用户中心页面模版", "description": "云端一体简单、统一、可扩展的用户中心页面模版",
"keywords": [ "keywords": [
"用户管理", "用户管理",
......