fix: update field

This commit is contained in:
chenos 2021-01-26 17:00:50 +08:00
parent 4ee4bed527
commit 25d9ae8fcc

View File

@ -250,6 +250,9 @@ export class FieldModel extends BaseModel {
//@ts-ignore //@ts-ignore
options options
); );
} else {
//@ts-ignore
await model.update(item, options);
} }
if (Array.isArray(item.children)) { if (Array.isArray(item.children)) {
const childrenIds = await this.import(item.children, { const childrenIds = await this.import(item.children, {