fix: destroyOnClose incorrect default value, fixed #6092 (#6093)

This commit is contained in:
Netfan
2025-05-01 14:09:37 +08:00
committed by GitHub
parent 5de954baa4
commit 3e6d608a2f
5 changed files with 5 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ const [Drawer, drawerApi] = useVbenDrawer({
| --- | --- | --- | --- |
| appendToMain | 是否挂载到内容区域默认挂载到body | `boolean` | `false` |
| connectedComponent | 连接另一个Modal组件 | `Component` | - |
| destroyOnClose | 关闭时销毁`connectedComponent` | `boolean` | `false` |
| destroyOnClose | 关闭时销毁 | `boolean` | `false` |
| title | 标题 | `string\|slot` | - |
| titleTooltip | 标题提示信息 | `string\|slot` | - |
| description | 描述信息 | `string\|slot` | - |