docs(components): [dialog/tour] add missing default value to model-value (#22571)

This commit is contained in:
Rainbow
2025-10-23 20:18:12 +08:00
committed by GitHub
parent e11c529d44
commit 92f1669f2b
2 changed files with 2 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ dialog/events
| Name | Description | Type | Default |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- | ----------- |
| model-value / v-model | visibility of Dialog | ^[boolean] | |
| model-value / v-model | visibility of Dialog | ^[boolean] | false |
| title | title of Dialog. Can also be passed with a named slot (see the following table) | ^[string] | '' |
| width | width of Dialog, default is 50% | ^[string] / ^[number] | '' |
| fullscreen | whether the Dialog takes up full screen | ^[boolean] | false |

View File

@@ -84,7 +84,7 @@ tour-step component configuration with the same name has higher priority
| mask | whether to enable masking, change mask style and fill color by pass custom props | `boolean` \| ^[Object]`{ style?: CSSProperties; color?: string; }` | `true` |
| gap | transparent gap between mask and target | `TourGap` | ^[Object]`{ offset: 6, radius: 2}` |
| type | type, affects the background color and text color | `default` \| `primary` | `default` |
| model-value / v-model | open tour | `boolean` | |
| model-value / v-model | open tour | `boolean` | `false` |
| current / v-model:current | what is the current step | `number` | — |
| scroll-into-view-options | support pass custom scrollIntoView options | `boolean` \| `ScrollIntoViewOptions` | ^[Object]`{ block: 'center' }` |
| z-index | Tour's zIndex | `number` | `2001` |