this.data.watcher.close() 关掉后如何再打开?
this.data.watcher=db.collection('rooms').where({_id:App.globalData.roomNumber}).watch({
onChange: function(snapshot) {........
this.data.watcher.close() 关掉后如何再打开?
this.data.watcher=db.collection('rooms').where({_id:App.globalData.roomNumber}).watch({
onChange: function(snapshot) {........
this.data.watcher.close() 关掉后如何再打开?