[bugfix] Popup overlayClass type (#374)

This commit is contained in:
neverland
2017-12-04 16:42:28 +08:00
committed by GitHub
parent d78e261820
commit 03824c5b07
3 changed files with 16 additions and 33 deletions

View File

@@ -44,7 +44,7 @@ Use `position` prop to set popup display position
| lockOnScroll | Lock body scroll | `Boolean` | `false` | - |
| position | Position | `String` | - | `top` `bottom` `right` `left` |
| overlayClass | Custom overlay class | `String` | `` | - |
| overlayStyle | Custom overlay style | `Object` | `` | - |
| overlayStyle | Custom overlay style | `Object` | - | - |
| closeOnClickOverlay | Close popup when click overlay | `Boolean` | `true` | - |
| transition | Transition | `String` | `popup-slide` | - |
| preventScroll | Prevent background scroll | `Boolean` | `false` | - |

View File

@@ -58,7 +58,7 @@ export default {
</script>
<style lang="postcss">
@import '../../../packages/vant-css/src/common/var';
@import '../../../packages/vant-css/src/common/var.css';
.side-nav {
width: 100%;