diff --git a/docs/en-US/component/table.md b/docs/en-US/component/table.md index f8d8726818..9cffa423fb 100644 --- a/docs/en-US/component/table.md +++ b/docs/en-US/component/table.md @@ -411,18 +411,16 @@ interface TreeNode { #### How to use image preview in the table? -```vue - +```vue{4} + ``` -PS: since the fixed column is implement by sticky, when you have fixed columns in table, please add the `preview-teleported` attribute in image - #### Why column is not rendered when use DOM templates? Typical issue: [#5046](https://github.com/element-plus/element-plus/issues/5046) [#5862](https://github.com/element-plus/element-plus/issues/5862) [#6919](https://github.com/element-plus/element-plus/issues/6919)