Loading: fix a overflow hidden bug (#986)

pull/1008/head
杨奕 2016-11-13 11:46:20 +08:00 committed by FuryBean
parent d7fd700c54
commit 19cadd1489
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ exports.install = Vue => {
el.spinner.style.display = 'none';
el.domVisible = false;
if (binding.modifiers.fullscreen) {
if (binding.modifiers.fullscreen && el.originalOverflow !== 'hidden') {
document.body.style.overflow = el.originalOverflow;
}
if (binding.modifiers.fullscreen || binding.modifiers.body) {