@ -189,15 +189,17 @@ const LayoutContainer = props => {
}
const dom = document.getElementById('page-content');
setTimeout(() => {
if (dom) {
if (!scrollbar) {
scrollbar = new PerfectScrollbar('#page-content', { suppressScrollX: true });
scrollbar.update();
// scrollbar.update();
} else {
dom.scrollTop = 0;
}, 300)
})
@ -235,6 +235,7 @@ const Control = (props) => {
let webtop = 0
let webId = document.getElementById('web');
if (web) clearInterval(web)
let memberId = document.getElementById('member');
if (memberId) {
function webstart () {
member = setInterval(() => {