wheredata={
usercompany: app.globalData.Amyinformation[0].admincompany ,
workshop:_.in(app.globalData.adminworkshoparr),
order:false,
tasktype:'produce',
}
wheredata_2_or={
usercompany:app.globalData.Amyinformation[0].admincompany,
order:false,
organization:_.in(app.globalData.admin_outsource_organizationarr),
tasktype:'produce',
}
}
that.normallwatcher = db.collection('userpiecerate_work').orderBy('workdate', 'desc').where(_.or([wheredata,wheredata_2_or])).watch({})
要取wheredata 或者wheredata_2_or 数据 自信满满认为没问题 监听结果竟然将 usercompany字段的不同值得数据取出来 按道理wheredata 或者wheredata_2_or中的usercompany是相同的啊