Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(sheet): life cycle steady (#1927)

Univerfbabfaa6d9d9
diff --git a/packages/ui/src/controllers/ui/ui-desktop.controller.tsx b/packages/ui/src/controllers/ui/ui-desktop.controller.tsx
index 90ce2e3e10..9c218b7803 100644
--- a/packages/ui/src/controllers/ui/ui-desktop.controller.tsx
+++ b/packages/ui/src/controllers/ui/ui-desktop.controller.tsx
@@ -75,7 +75,7 @@ export class DesktopUIController extends Disposable implements IDesktopUIControl
const engine = this._renderManagerService.getFirst()?.engine;
engine?.setContainer(canvasElement);
this._lifecycleService.stage = LifecycleStages.Rendered;
- setTimeout(() => this._lifecycleService.stage = LifecycleStages.Rendered, STEADY_TIMEOUT);
+ setTimeout(() => this._lifecycleService.stage = LifecycleStages.Steady, STEADY_TIMEOUT);
});
})
);