Skip to content

Commit

Permalink
修复drawer docked切换后zIndex没有重置的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
myronliu347 committed Nov 15, 2016
1 parent 4c580de commit b45bc8b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/drawer/drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit b45bc8b

Please sign in to comment.