diff --git a/s2-site/docs/manual/migration-v2.zh.md b/s2-site/docs/manual/migration-v2.zh.md index abd086d29b..f6f844f472 100644 --- a/s2-site/docs/manual/migration-v2.zh.md +++ b/s2-site/docs/manual/migration-v2.zh.md @@ -584,6 +584,14 @@ export interface LayoutResult { } ``` +5. 原 `s2.getContentHeight()` 废弃,移动到 `s2.facet.getContentHeight()` 中 + +```diff +- s2.getContentHeight() ++ s2.facet.getContentHeight() ++ s2.facet.getContentWidth() +``` + 具体请查看 [获取单元格数据](/manual/advanced/get-cell-data) 相关文档。 #### 渲染参数变更