Explorar o código

注释scrollTo

liucf %!s(int64=6) %!d(string=hai) anos
pai
achega
91c3713c62
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/PreviewBody/index.jsx

+ 1 - 1
src/components/PreviewBody/index.jsx

@@ -16,7 +16,7 @@ class PreviewBody extends Component {
         this.getCurrentDate();
     }
     componentWillReceiveProps(){
-        this.$content.current.scrollTo(0,0)
+        // this.$content.current.scrollTo(0,0)
     }
     getCurrentDate(){
         let myDate = new Date();