_before: function () {
const clientInfo = this.getClientInfo()
const uniIDIns = uniID.createInstance({
clientInfo
})
const token = this.getUniIdToken()
if(!token) {
throw new Error("token不存在")
}
else{
const {uid}=uniIDIns.checkToken(token)
}
},
async getAllHomeworkList(){
return uid
}
2***@qq.com
- 发布:2024-02-03 22:21
- 更新:2024-02-18 11:38
- 阅读:187
1 个回复
DCloud_uniCloud_WYQ
checkToken调用的时候少写了await