mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
fix: 修复无法 remove currentDocument
This commit is contained in:
parent
b75168347b
commit
4157aa0443
@ -243,7 +243,8 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
|
||||
});
|
||||
this.history = history;
|
||||
history.listen((location, action) => {
|
||||
host.project.open(location.pathname.substr(1));
|
||||
const docId = location.pathname.substr(1);
|
||||
docId && host.project.open(docId);
|
||||
});
|
||||
host.componentsConsumer.consume(async (componentsAsset) => {
|
||||
if (componentsAsset) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user