fix dialog

This commit is contained in:
cookfront
2017-04-05 20:34:27 +08:00
parent ced94c200b
commit a85c3c2695
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ export default {
if (this.lockOnScroll) {
setTimeout(() => {
if (this.modal && this.bodyOverflow !== 'hidden') {
if (this.overlay && this.bodyOverflow !== 'hidden') {
document.body.style.overflow = this.bodyOverflow;
}
this.bodyOverflow = null;