dev_aliyun2
daiao 5 years ago committed by harry
parent d5ea786738
commit d09783b800

@ -178,7 +178,6 @@ class Paperlibraryeditid extends Component {
this.contentMdRef = Ref;
}
<<<<<<< HEAD
setnewmyshixunmodelbool = (bool) => {
if (bool === true) {
let scrollToTop = window.setInterval(function () {
@ -187,16 +186,6 @@ class Paperlibraryeditid extends Component {
window.scrollTo(0, pos - 20); // how far to scroll on each step
} else {
window.clearInterval(scrollToTop);
=======
setnewmyshixunmodelbool=(bool)=>{
if(bool===true){
let scrollToTop = window.setInterval(function() {
let pos = window.pageYOffset;
if ( pos > 0 ) {
window.scrollTo( 0, pos - 20 ); // how far to scroll on each step
} else {
window.clearInterval( scrollToTop );
>>>>>>> 1036126... 合并
}
}, 2);
}

Loading…
Cancel
Save