mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
fix: 避免一些内置的 metadataTransducer 重复执行导致不幂等
This commit is contained in:
parent
c6cd178f4c
commit
88f5677682
@ -4,6 +4,11 @@ import { getConvertedExtraKey } from '@ali/lowcode-designer';
|
||||
|
||||
export default function (metadata: TransformedComponentMetadata): TransformedComponentMetadata {
|
||||
const { componentName, configure = {} } = metadata;
|
||||
|
||||
// 如果已经处理过,不再重新执行一遍
|
||||
if (configure.combined) {
|
||||
return metadata;
|
||||
}
|
||||
if (componentName === 'Leaf') {
|
||||
return {
|
||||
...metadata,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user