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