fix: 临时修复,模板第一次进入无法加载 (#655)
Reviewed-on: daoyoucloud/tachycode#655 Co-authored-by: bai.jingfeng <bai.jingfeng@foxmail.com> Co-committed-by: bai.jingfeng <bai.jingfeng@foxmail.com>
This commit is contained in:
parent
110143d91b
commit
a329ab5727
5
.changeset/nervous-donkeys-jam.md
Normal file
5
.changeset/nervous-donkeys-jam.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nocobase/client": patch
|
||||
---
|
||||
|
||||
Fixme: 临时修复,模板类型关系字段,第一次进入无法加载数据
|
@ -73,7 +73,8 @@ export const SchemaComponentProvider: React.FC<ISchemaComponentProvider> = (prop
|
||||
);
|
||||
|
||||
return (
|
||||
<SchemaComponentContext.Provider value={schemaComponentContextValue}>
|
||||
// TODO: 临时修复,处理模板类型的关联数据第一次进入无法加载
|
||||
<SchemaComponentContext.Provider value={{ ...schemaComponentContextValue }}>
|
||||
<FormProvider form={form}>
|
||||
<SchemaComponentOptions inherit scope={scope} components={components}>
|
||||
{children}
|
||||
|
Loading…
Reference in New Issue
Block a user