fix: get collection with transaction

This commit is contained in:
chenos 2021-01-07 23:23:36 +08:00
parent ef7cc13ae1
commit 1dbfe14379

View File

@ -103,7 +103,7 @@ export class FieldModel extends BaseModel {
if (targetField) { if (targetField) {
labelField = targetField.get('name'); labelField = targetField.get('name');
} }
const collection = await this.getCollection(); const collection = await this.getCollection(options);
let targetOptions:any = { let targetOptions:any = {
...types.linkTo.options, ...types.linkTo.options,
interface: 'linkTo', interface: 'linkTo',