watch初始化拉取不到值,只能观察add,不能观察update?
let watch = col.where({
_id: _.in(sids)
}).watch({
onChange: function (snapshot) {
console.log(snapshot)
},
onError: function (err) {
}
});
let watch = col.where({
_id: _.in(sids)
}).watch({
onChange: function (snapshot) {
console.log(snapshot)
},
onError: function (err) {
}
});