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.

chore: fix types

白熱ead3727cfeee
diff --git a/packages/engine-render/src/components/docs/layout/block/section.ts b/packages/engine-render/src/components/docs/layout/block/section.ts
index f6e2afe2fe..dbe06dbea3 100644
--- a/packages/engine-render/src/components/docs/layout/block/section.ts
+++ b/packages/engine-render/src/components/docs/layout/block/section.ts
@@ -100,7 +100,7 @@ export function dealWithSection(
if (ctx.isDirty && ctx.layoutStartPointer[segmentId] != null) {
// Rollback the skeleton to the layout start point.
- _rollbackPages(ctx.layoutStartPointer[segmentId], allCurrentSkeletonPages);
+ _rollbackPages(ctx.layoutStartPointer[segmentId] as number, allCurrentSkeletonPages);
}
return {