async get(id, idFocus) {
const dbJQL = uniCloud.databaseForJQL({
clientInfo: this.getClientInfo()
})
},
const userFocus = module.exports = {
async add(id, idFocus) {
let res = await userFocus.get()
}
}
产品分类: uniCloud/App
async get(id, idFocus) {
const dbJQL = uniCloud.databaseForJQL({
clientInfo: this.getClientInfo()
})
},
const userFocus = module.exports = {
async add(id, idFocus) {
let res = await userFocus.get()
}
}
云对象add方法调用自身get方法或者get方法调用自身,报错this.getClientInfo is not a function。
正常访问
报错
云对象使用jql语法的报错。是我写法有什么问题吗?
8***@qq.com (作者)
好吧
2022-07-06 11:03
1***@qq.com
什么意思,getClientInfo现在是不是用不了了,在云函数中一直报错this.getClientInfo is not a function
2023-11-23 15:10