diff --git a/src/pages/exchangepage/template/main.js b/src/pages/exchangepage/template/main.js index 87951183..c09fd500 100644 --- a/src/pages/exchangepage/template/main.js +++ b/src/pages/exchangepage/template/main.js @@ -111,7 +111,7 @@ export default class mytemplate extends React.Component { let isBottom = event.target.scrollHeight - event.target.clientHeight; console.log('到底了',Math.round(isBottom)); console.log('设备高度',Math.round(event.target.scrollTop)); - if (Math.round(isBottom)+1 == Math.round(event.target.scrollTop)) { + if (Math.round(isBottom)+1 == Math.round(event.target.scrollTop)||Math.round(isBottom)== Math.round(event.target.scrollTop)) { let endreq = this.state.endreq; if (endreq) { let page = this.state.page;//请求