删除console注释

This commit is contained in:
red-deng-deng 2022-01-27 15:54:10 +08:00
parent 7456b446c9
commit 9dccbbc452
1 changed files with 0 additions and 3 deletions

View File

@ -97,14 +97,11 @@ export default class mytemplate extends React.Component{
this.setState({toTopFlag:true}); this.setState({toTopFlag:true});
this.setState({toTopshow:false}); this.setState({toTopshow:false});
let isBottom=event.target.scrollHeight-event.target.clientHeight; let isBottom=event.target.scrollHeight-event.target.clientHeight;
console.log('isBottom',isBottom);
console.log('event.target.scrollTop',scrolHeight);
if(Math.round(isBottom)==Math.round(event.target.scrollTop)){ if(Math.round(isBottom)==Math.round(event.target.scrollTop)){
let endreq=this.state.endreq; let endreq=this.state.endreq;
if(endreq){ if(endreq){
let page=this.state.page;//请求 let page=this.state.page;//请求
page=page+1; page=page+1;
console.log(91,this.state);
let data={page:page,limit:10} let data={page:page,limit:10}
if(this.state.sourceIndex==0){//系统模板 if(this.state.sourceIndex==0){//系统模板
if(this.state.typeIndex!=0){ if(this.state.typeIndex!=0){