fix(Calendar): incorrect height when position is left or right

This commit is contained in:
陈嘉涵
2019-12-28 12:06:52 +08:00
committed by neverland
parent 11a5d44861
commit 3986536fcd
4 changed files with 50 additions and 1 deletions
+12
View File
@@ -168,6 +168,18 @@ export default {
}
```
### Custom Position
Use `position` to custom popup positioncan be set to `top`、`left`、`right`
```html
<van-calendar
v-model="show"
:round="false"
position="right"
/>
```
### Tiled display
Set `poppable` to `false`, the calendar will be displayed directly on the page instead of appearing as a popup