fix: addon-combine affect metadata unexpectedly

This commit is contained in:
eternalsky 2022-06-10 14:41:44 +08:00 committed by LeoYuan 袁力皓
parent 7b76ff357e
commit fc5fbc63a0

View File

@ -87,7 +87,7 @@ export default function (metadata: TransformedComponentMetadata): TransformedCom
});
}
// 通用设置
let propsGroup = props || [];
let propsGroup = props ? [...props] : [];
const basicInfo: any = {};
if (componentName === 'Slot') {
if (!configure.component) {