diff --git a/components/action-sheet/README.md b/components/action-sheet/README.md index d2cfaa8d0..69974a2f6 100644 --- a/components/action-sheet/README.md +++ b/components/action-sheet/README.md @@ -27,6 +27,7 @@ Vue.component(ActionSheet.name, ActionSheet) |default-index|默认选中项| Boolean| `0`| |invalid-index|禁用选择项索引 |Number|`-1`| |cancel-text|取消按钮文案 |String |-| +|max-height|面板最高高度, 超出后可滚动|Number|400|单位`px`| #### ActionSheet Events diff --git a/components/action-sheet/index.vue b/components/action-sheet/index.vue index 5df6ad2c8..e62db42cf 100644 --- a/components/action-sheet/index.vue +++ b/components/action-sheet/index.vue @@ -4,10 +4,11 @@ v-model="isActionSheetShow" position="bottom" prevent-scroll + :prevent-scroll-exclude="scroller" @show="$_onShow" @hide="$_onHide" > -
+
{{ title }}