mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-05 09:47:20 +00:00
fix: 不需要导出内置组件 Slot 的元数据
This commit is contained in:
parent
59f3ce5b72
commit
327d4a3656
@ -656,6 +656,7 @@ export class DocumentModel {
|
|||||||
const exsitingMap: { [componentName: string]: boolean } = {};
|
const exsitingMap: { [componentName: string]: boolean } = {};
|
||||||
for (const node of this._nodesMap.values()) {
|
for (const node of this._nodesMap.values()) {
|
||||||
const { componentName } = node || {};
|
const { componentName } = node || {};
|
||||||
|
if (componentName === 'Slot') continue;
|
||||||
if (!exsitingMap[componentName]) {
|
if (!exsitingMap[componentName]) {
|
||||||
exsitingMap[componentName] = true;
|
exsitingMap[componentName] = true;
|
||||||
if (node.componentMeta?.npm?.package) {
|
if (node.componentMeta?.npm?.package) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user