docs: fix typos (#5105)

This commit is contained in:
Netfan
2024-12-11 14:48:08 +08:00
committed by GitHub
parent 4a20156f3d
commit 43adc943b9
3 changed files with 3 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ const [Modal, modalApi] = useVbenModal({
::: info appendToMain
`appendToMain`可以指定将弹窗挂载到内容区域,打开带这招的弹窗时内容区域以外的部分标签栏、导航菜单等等不会被遮挡。默认情况下弹窗会挂载到body上。但是挂载到内容区域时作为页面根容器的`Page`组件,需要设置`auto-content-height`属性,以便弹窗能够正确计算高度。
`appendToMain`可以指定将弹窗挂载到内容区域,打开这种弹窗时内容区域以外的部分标签栏、导航菜单等等不会被遮挡。默认情况下弹窗会挂载到body上。但是挂载到内容区域时作为页面根容器的`Page`组件,需要设置`auto-content-height`属性,以便弹窗能够正确计算高度。
:::