diff --git a/docs/blog/virtual-table.en-US.md b/docs/blog/virtual-table.en-US.md index 02ed7ad4b8..5d2a41f016 100644 --- a/docs/blog/virtual-table.en-US.md +++ b/docs/blog/virtual-table.en-US.md @@ -12,7 +12,7 @@ So we proposed [[RFC] StaticTable for fast perf & virtual scroll support](https: ## TL;DR -Table supports virtual scrolling by setting the `virtual` prop. At the same time, the original Table's functions except `components.body` can be used normally: +Table supports virtual scrolling by setting the `virtual` prop. At the same time, the original Table's functions can be used normally: ```tsx @@ -156,6 +156,6 @@ Of course, this implementation is based on the assumption that `rowSpan > 1` and ## Finally -Virtual scrolling is a very complex feature, and there are many factors to consider. But we believe that it is worth spending this effort, and developers no longer need to choose between functionality and performance. Instead, you can have both. However, it should be noted that since we have implemented virtual scrolling through `components.body`, developers cannot override the `body` part of the component. +Virtual scrolling is a very complex feature, and there are many factors to consider. But we believe that it is worth spending this effort, and developers no longer need to choose between functionality and performance. Instead, you can have both. That's all. diff --git a/docs/blog/virtual-table.zh-CN.md b/docs/blog/virtual-table.zh-CN.md index d70f2343f3..8ed1973a44 100644 --- a/docs/blog/virtual-table.zh-CN.md +++ b/docs/blog/virtual-table.zh-CN.md @@ -12,7 +12,7 @@ author: zombieJ ## 太长不看 -Table 通过 `virtual` 属性即可开启虚拟滚动能力。同时,原 Table 的功能(除自定义 `components.body` 外)都能正常使用: +Table 通过 `virtual` 属性即可开启虚拟滚动能力。同时,原 Table 的功能都能正常使用: ```tsx
@@ -156,6 +156,6 @@ const extraRender = ({ start, end }) => { ## 总结 -虚拟滚动是一个非常复杂的功能,它需要考虑的因素非常多。但是我们相信花费这些精力是值得的,开发者不用再在功能和性能之间做取舍。而是可以同时拥有两者。不过需要注意的是,由于我们是通过 `components.body` 进行了虚拟滚动支持。这也意味着开发者不能覆盖 `body` 部分的组件。 +虚拟滚动是一个非常复杂的功能,它需要考虑的因素非常多。但是我们相信花费这些精力是值得的,开发者不用再在功能和性能之间做取舍,而是可以同时拥有两者。 以上。