Ember.js 在Ember JS DS.store模型中的查询中

Ember.js 在Ember JS DS.store模型中的查询中,ember.js,ember-data,Ember.js,Ember Data,我尝试了以下两个问题: this.store.query('estimate', { 'vendorUids' : supplierData.getEach('vendorUid') } ).then((estimatesData)=>{ }); this.store.query('estimate', { filter : { 'vendorUids' : supplierData.getEach('vendorUid') } }).then((estimatesData)=

我尝试了以下两个问题:

    this.store.query('estimate', { 'vendorUids' : supplierData.getEach('vendorUid') } ).then((estimatesData)=>{

});

this.store.query('estimate', { filter : { 'vendorUids' : supplierData.getEach('vendorUid') } }).then((estimatesData)=>{

});
但它正在创建如下查询:

https://localhost:8080/v1/estimates?vendorUids[]=344&vendorUids[]=5&vendorUids[]=1&vendorUids[]=2&vendorUids[]=3&vendorUids[]=4

https://localhost:8080/v1/estimates?filter[vendorUid][]=344&filter[vendorUid][]=344&filter[vendorUid][]=344
我希望生成查询,如下所示,如查询中所示:

https://localhost:8080/v1/estimates?vendorUids=[1,2,3,4,5]

提前感谢。

以下代码适用于我:

supplierData.getEach('vendorUid').toString();

以下代码适用于我:

supplierData.getEach('vendorUid').toString();

在第二次尝试中,您可以尝试
supplierData.mapBy('vendorUid')
这不起作用。但api请求与第二次尝试类似,您可以尝试
supplierData.mapBy('vendorUid')
这不起作用。仍然api请求类似于