var workQuery = AV.Status.inboxQuery(AV.User.current());
workQuery.equalTo('type', 'work');
var voiceQuery = AV.Status.inboxQuery(AV.User.current());
voiceQuery.equalTo('type', 'voice');
var query = AV.Query.or(workQuery, voiceQuery );
query.include('Work').include('source').limit(5).find().then(function (statuses) {
.......
})
想要查询默认收件箱中属性type为work或voice的信息,代码片段以上,然后报错
thirdScriptError
Cannot read property 'prototype' of undefined;
求解~