From d09783b8008ef31d9cbba13e1ff6eb034c643ec3 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 7 Jan 2020 16:08:32 +0800 Subject: [PATCH] 1 --- .../react/src/modules/testpaper/Paperlibraryeditid.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/public/react/src/modules/testpaper/Paperlibraryeditid.js b/public/react/src/modules/testpaper/Paperlibraryeditid.js index d22047469..454ecd171 100644 --- a/public/react/src/modules/testpaper/Paperlibraryeditid.js +++ b/public/react/src/modules/testpaper/Paperlibraryeditid.js @@ -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); }