mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 11:36:42 +00:00
chore: update comment
This commit is contained in:
parent
564e0a08c9
commit
c926b6aef2
@ -56,7 +56,7 @@ const InternalFormBlockProvider = (props) => {
|
|||||||
);
|
);
|
||||||
} else if (
|
} else if (
|
||||||
formBlockValue.type === 'create' &&
|
formBlockValue.type === 'create' &&
|
||||||
// 点击关系表格区块的 Add new 按钮,在弹窗中新增的表单区块,是不需要重置 record 的。在这里用 record 是否为空来判断
|
// 关系表单区块的 record 应该是空的,因为其是一个创建数据的表单;
|
||||||
!_.isEmpty(_.omit(record, ['__parent', '__collectionName'])) &&
|
!_.isEmpty(_.omit(record, ['__parent', '__collectionName'])) &&
|
||||||
// association 不为空,说明是关系区块
|
// association 不为空,说明是关系区块
|
||||||
association
|
association
|
||||||
|
Loading…
Reference in New Issue
Block a user