在修正selection时,如果以createAt作为默认排序列,需要加上相应的投影
This commit is contained in:
parent
31ba6b5284
commit
c290bb35ef
|
|
@ -230,6 +230,9 @@ function reinforceSelection(schema, entity, selection) {
|
|||
}
|
||||
]
|
||||
});
|
||||
Object.assign(data, {
|
||||
$$createAt$$: 1,
|
||||
});
|
||||
}
|
||||
}
|
||||
exports.reinforceSelection = reinforceSelection;
|
||||
|
|
|
|||
|
|
@ -228,5 +228,8 @@ export function reinforceSelection<ED extends EntityDict>(schema: StorageSchema<
|
|||
}
|
||||
]
|
||||
});
|
||||
Object.assign(data, {
|
||||
$$createAt$$: 1,
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue