fix: post data error
This commit is contained in:
parent
edac378ae9
commit
4b212084f8
@ -45,7 +45,8 @@ export const GroupBlock = (props) => {
|
||||
return [
|
||||
await api.request({
|
||||
url: requeatItem.fieldFormat.requestUrl,
|
||||
params: {
|
||||
method: 'POST',
|
||||
data: {
|
||||
filter: { ...filter },
|
||||
collection: params.collection,
|
||||
},
|
||||
|
@ -19,7 +19,7 @@ export class RecordPreviewController {
|
||||
|
||||
@Action('group')
|
||||
async group(ctx: Context) {
|
||||
const { collection: collectionName, filter } = ctx.action.params;
|
||||
const { collection: collectionName, filter } = ctx.action.params.values;
|
||||
const collection = ctx.db.getCollection(collectionName);
|
||||
const fields = collection.fields;
|
||||
const filterParser = new FilterParser(filter, {
|
||||
|
Loading…
Reference in New Issue
Block a user