dev_aliyun2
harry 5 years ago
parent 168994cfb3
commit 2388f4531f

@ -272,7 +272,6 @@ class Curriculum extends Component {
render={(props) => (<EcCompletionCalculation {...this.props} {...props} {...this.state} Ontitine={(i) => this.Ontitine(i)} triggerRef={this.bindRef} />)}></Route> render={(props) => (<EcCompletionCalculation {...this.props} {...props} {...this.state} Ontitine={(i) => this.Ontitine(i)} triggerRef={this.bindRef} />)}></Route>
</Switch> </Switch>
</div> </div>
</div>
) )
} }

@ -861,8 +861,6 @@ class MemoDetail extends Component {
</div> </div>
</div> </div>
</div>
</div >
</React.Fragment > </React.Fragment >
); );

@ -109,15 +109,6 @@ class MemoDetailMDEditor extends Component {
} }
showEditor() { showEditor() {
<<<<<<< HEAD
$("html, body").animate({ scrollTop: $('.commentInput:visible').offset().top - 100 }, 1000, () => {
if (this.commentMDEditor) {
this.commentMDEditor.cm.focus()
} else {
this.onMockInputClick()
}
});
=======
// $("html, body").animate({ scrollTop: $('.commentInput:visible').offset().top - 100 }, 1000, () => { // $("html, body").animate({ scrollTop: $('.commentInput:visible').offset().top - 100 }, 1000, () => {
// if (this.commentMDEditor) { // if (this.commentMDEditor) {
// this.commentMDEditor.cm.focus() // this.commentMDEditor.cm.focus()
@ -125,7 +116,6 @@ class MemoDetailMDEditor extends Component {
// this.onMockInputClick() // this.onMockInputClick()
// } // }
// }); // });
>>>>>>> f8dfb5f... 调整
} }
close = () => { close = () => {
this.setState({ isInited: false }) this.setState({ isInited: false })

Loading…
Cancel
Save