before: function(){
const methodName = this.getMethodName()
if(methodName === 'collect' && !this.getUniIdToken()) {
throw new Error(''token不存在')
}
},
已经确定登录了但是 this.getUniIdToken() 为undefined ,这是为什么?
before: function(){
const methodName = this.getMethodName()
if(methodName === 'collect' && !this.getUniIdToken()) {
throw new Error(''token不存在')
}
},
已经确定登录了但是 this.getUniIdToken() 为undefined ,这是为什么?
1 个回复
呆狗的一生 - 呆狗的一生
云对象的预处理 是_before方法,不是你的before