mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-23 09:58:12 +00:00
refactor: 暂时注释删除 document 的逻辑
This commit is contained in:
parent
af6fc3931b
commit
e92c9716f9
@ -200,10 +200,11 @@ export class Project {
|
|||||||
if (isDocumentModel(doc)) {
|
if (isDocumentModel(doc)) {
|
||||||
return doc.open();
|
return doc.open();
|
||||||
} else if (isPageSchema(doc)) {
|
} else if (isPageSchema(doc)) {
|
||||||
const foundDoc = this.documents.find(curDoc => curDoc?.rootNode?.id && curDoc?.rootNode?.id === doc?.id);
|
// 暂时注释掉,影响了 diff 功能
|
||||||
if (foundDoc) {
|
// const foundDoc = this.documents.find(curDoc => curDoc?.rootNode?.id && curDoc?.rootNode?.id === doc?.id);
|
||||||
foundDoc.remove();
|
// if (foundDoc) {
|
||||||
}
|
// foundDoc.remove();
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
doc = this.createDocument(doc);
|
doc = this.createDocument(doc);
|
||||||
|
|||||||
@ -57,5 +57,5 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npm.alibaba-inc.com"
|
"registry": "https://registry.npm.alibaba-inc.com"
|
||||||
},
|
},
|
||||||
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@0.13.1-3/build/index.html"
|
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@0.13.1-4/build/index.html"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user