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 {
}
```
### 自定义弹出位置
通过`position`属性自定义弹出层的弹出位置,可选值为`top`、`left`、`right`
```html
<van-calendar
v-model="show"
:round="false"
position="right"
/>
```
### 平铺展示
将`poppable`设置为`false`,日历会直接展示在页面内,而不是以弹层的形式出现