Vanessa 2025-03-09 17:33:58 +08:00
parent a07505a29f
commit 2cb214f1fe

View file

@ -102,6 +102,11 @@ const focusStack = (backStack: IBackStack) => {
setTimeout(() => {
protyle.contentElement.scrollTop = backStack.scrollTop;
}, Constants.TIMEOUT_LOAD);
protyle.app.plugins.forEach(item => {
item.eventBus.emit("switch-protyle", {protyle});
item.eventBus.emit("loaded-protyle-static", {protyle});
});
});
};