Commit 19cadd14 authored by 杨奕's avatar 杨奕 Committed by FuryBean

Loading: fix a overflow hidden bug (#986)

parent d7fd700c
...@@ -46,7 +46,7 @@ exports.install = Vue => { ...@@ -46,7 +46,7 @@ exports.install = Vue => {
el.spinner.style.display = 'none'; el.spinner.style.display = 'none';
el.domVisible = false; el.domVisible = false;
if (binding.modifiers.fullscreen) { if (binding.modifiers.fullscreen && el.originalOverflow !== 'hidden') {
document.body.style.overflow = el.originalOverflow; document.body.style.overflow = el.originalOverflow;
} }
if (binding.modifiers.fullscreen || binding.modifiers.body) { if (binding.modifiers.fullscreen || binding.modifiers.body) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment