调整导航栏激活颜色
This commit is contained in:
parent
e6afbc6cb3
commit
80894e52bf
|
@ -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;//请求
|
||||
|
|
Loading…
Reference in New Issue