From b45bc8bd43b6374391385d19cb2673f440b6f95d Mon Sep 17 00:00:00 2001 From: liuyy <953788477@qq.com> Date: Tue, 15 Nov 2016 08:12:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddrawer=20docked=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=90=8EzIndex=E6=B2=A1=E6=9C=89=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/drawer/drawer.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/drawer/drawer.vue b/src/drawer/drawer.vue index 2a033567..1c3fe420 100644 --- a/src/drawer/drawer.vue +++ b/src/drawer/drawer.vue @@ -55,7 +55,10 @@ export default { } }, docked (val, oldVal) { - if (val && !oldVal) PopupManager.close(this) + if (val && !oldVal) { + PopupManager.close(this) + if (this.$el) this.$el.style.zIndex = '' + } } }, beforeDestroy () {