diff --git a/packages/address-edit/index.vue b/packages/address-edit/index.vue index b99a7548b..db43ab9a8 100644 --- a/packages/address-edit/index.vue +++ b/packages/address-edit/index.vue @@ -65,7 +65,7 @@ {{ $t('deleteAddress') }} - + - + - + - + { + this.$el.style.zIndex = context.plusKey('zIndex'); + }); } } }; diff --git a/packages/mixins/popup/manager.js b/packages/mixins/popup/manager.js index 68649bb8a..0dc93b53a 100644 --- a/packages/mixins/popup/manager.js +++ b/packages/mixins/popup/manager.js @@ -61,6 +61,7 @@ export default { // close popup when click modal && closeOnClickOverlay is true onClick() { + /* istanbul ignore else */ if (context.top) { const { vm } = context.top; vm.$emit('click-overlay'); diff --git a/packages/popup/en-US.md b/packages/popup/en-US.md index fe6012540..29265a2cf 100644 --- a/packages/popup/en-US.md +++ b/packages/popup/en-US.md @@ -47,6 +47,7 @@ Use `position` prop to set popup display position | close-on-click-overlay | Close popup when click overlay | `Boolean` | `true` | | transition | Transition | `String` | `popup-slide` | | lock-scroll | Whether to lock background scroll | `Boolean` | `true` | +| lazy-render | Whether to lazy render util appeared | `Boolean` | `true` | | get-container | Return the mount node for Popup | `() => HTMLElement` | - | ### Event diff --git a/packages/popup/index.vue b/packages/popup/index.vue index 74d2733a2..3fdc494a3 100644 --- a/packages/popup/index.vue +++ b/packages/popup/index.vue @@ -1,6 +1,6 @@