var query = new AV.Query('product');
var currentUser = new AV.User.current();
query.include('owner');
query.descending('createdAt');
var currentUser = AV.User.current();
query.equalTo('owner', currentUser);
query.find()
.then(function (product) {
console.log(product)
if (product.done=true)
wx.showModal({
title: '提示',
content: '审核已通过',
})
else {
wx.showModal({
title: '提示',
content: '审核中',
})
}
})
},
这么写依旧不行。。