fix(editor): 修复历史对比属性配置上下文缺失

This commit is contained in:
roymondchen 2026-06-05 17:27:20 +08:00
parent bc555ebdc0
commit be3a900e6a

View File

@ -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');