mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-06-06 10:28:15 +08:00
fix(editor): 修复历史对比属性配置上下文缺失
This commit is contained in:
parent
bc555ebdc0
commit
be3a900e6a
@ -180,7 +180,9 @@ const defaultLoadConfig = async (): Promise<FormConfig> => {
|
||||
if (!props.type) {
|
||||
return [];
|
||||
}
|
||||
return removeStyleDisplayConfig(await propsService.getPropsConfig(props.type));
|
||||
return removeStyleDisplayConfig(
|
||||
await propsService.getPropsConfig(props.type, { node: props.value as unknown as MNode }),
|
||||
);
|
||||
}
|
||||
case 'data-source': {
|
||||
return dataSourceService.getFormConfig(props.type || 'base');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user