宇鑫001
宇鑫001
  • 发布:2023-03-10 08:48
  • 更新:2024-07-11 09:51
  • 阅读:564

【报Bug】uni-id-co Error: Method[getRealNameInfo] not found

分类:uniCloud

产品分类: uniCloud/App

示例代码:

【报Bug】uni-id-co Error: Method[getRealNameInfo] not found uni-id-co 版本:1.0.38 没有该方法

操作步骤:

【报Bug】uni-id-co Error: Method[getRealNameInfo] not found uni-id-co 版本:1.0.38 没有该方法

预期结果:

【报Bug】uni-id-co Error: Method[getRealNameInfo] not found uni-id-co 版本:1.0.38 没有该方法

实际结果:

【报Bug】uni-id-co Error: Method[getRealNameInfo] not found uni-id-co 版本:1.0.38 没有该方法

bug描述:

【报Bug】uni-id-co Error: Method[getRealNameInfo] not found uni-id-co 版本:1.0.38 没有该方法

2023-03-10 08:48 负责人:无 分享
已邀请:
宇鑫001

宇鑫001 (作者)

没人?

宇鑫001

宇鑫001 (作者)

我去,怎么都没有人回答问题啊,托管,已经配置了跨域,死活就是不行

宇鑫001

宇鑫001 (作者)

官方人都放假了吗一个回答的都没有

DCloud_uniCloud_CRL

DCloud_uniCloud_CRL

问题已修复,更新最新版本。

3***@qq.com

3***@qq.com

问题解决了吗?我也遇到同样问题!

5***@qq.com

5***@qq.com

我的已经解决
try {
let res = await usersTable.where("'_id' == $cloudEnv_uid")
.field('mobile,nickname,username,email,avatar_file')
.get()

            // const realNameRes = await uniIdCo.getRealNameInfo()  
            // console.log('fromDbData',res.result.data);  
            this.setUserInfo({  
                ...res.result.data[0],  
                // realNameAuth: realNameRes  
            })  
        } catch (e) {  
            this.setUserInfo({}, {  
                cover: true  
            })  
            console.error(e.message, e.errCode);  
        }  

把store.js中的get-realnameinfo注释掉,旧版本没有实名的功能,新版本增加了功能,但是在云对象中却不添加相应的函数,反正也用不上,直接注释掉,OK了

要回复问题请先登录注册