Angelia
Angelia
  • 发布:2022-05-15 00:19
  • 更新:2022-05-15 06:17
  • 阅读:528

云对象获取不到token 是为什么?

分类:uniCloud
before: function(){  
    const methodName = this.getMethodName()  
    if(methodName === 'collect' && !this.getUniIdToken()) {  
      throw new Error(''token不存在')  
    }  
  },  

已经确定登录了但是 this.getUniIdToken() 为undefined ,这是为什么?

2022-05-15 00:19 负责人:无 分享
已邀请:
呆狗的一生

呆狗的一生 - 呆狗的一生

云对象的预处理 是_before方法,不是你的before

该问题目前已经被锁定, 无法添加新回复