优化copyright 显示问题

This commit is contained in:
java110 2020-03-20 17:28:07 +08:00
parent c0b4d7ffef
commit 342559df36

View File

@ -24,8 +24,18 @@
return;
}
this.copyrightInfo.logo = sysInfo.logo;
},
_initView: function () {
let footer = document.getElementsByClassName('footer')[0];
windowH = document.documentElement.clientHeight;
bodyH = document.body.offsetHeight;
bodyH < windowH ? (footer.style.position = 'fixed', footer.style.bottom = '0') : (footer.style.position = '');
}
}
});
window.onresize = function () { vm._initView() }
})(window.vc)