fix: 关联表格添加无法使用引用模版 (#1510)
Reviewed-on: daoyoucloud/tachybase#1510 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
8a4bce3add
commit
829adcfc4e
@ -128,6 +128,7 @@ export const useCreateFormBlock = () => {
|
||||
dataSource: item.dataSource,
|
||||
templateSchema: templateSchema,
|
||||
collectionName: item.name,
|
||||
association,
|
||||
});
|
||||
if (item.template && item.mode === 'reference') {
|
||||
schema['x-template-key'] = item.template.key;
|
||||
|
Loading…
Reference in New Issue
Block a user