在客户端调用时
task.list({
uid
})
list(e) {
c.where({
uid: e.uid
}).get()
}
task.list(uid)
list(uid) {
c.where({
uid
}).get()
}
注意传参方式
在客户端调用时
task.list({
uid
})
list(e) {
c.where({
uid: e.uid
}).get()
}
task.list(uid)
list(uid) {
c.where({
uid
}).get()
}
注意传参方式