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