纯血鸿蒙 nova 12 Pro uniapp开发的app ,一键登录功能图标配置了,但是未显示,安卓和IOS正常
univerifyStyle: {
fullScreen: false, // 是否全屏显示,默认值: false
logoPath: '/static/logo.png',
backgroundColor: '#ffffff', // 授权页面背景颜色,默认值:#ffffff
loginBtnText: '本机号码一键登录'
},
univerifyManager.login({
univerifyStyle: _this.univerifyStyle,
success: (res) => {
console.log('login success', JSON.stringify(res));
......
},
fail: (err) => {
console.log(err, 'err')
if (err.code == 30002) {
// 用户点击其他登录方式
univerifyManager.close();
}
},
complete() {
uni.hideLoading()
}
});
1 个回复
DCloud_UNI_LXH
已确认,下载附件,解压缩出 .har 包,放到
项目根目录/harmony-configs/libs下,重新编译运行